Index: qemu/cpu-all.h
===================================================================
--- qemu.orig/cpu-all.h	2009-03-17 15:00:53.000000000 +0800
+++ qemu/cpu-all.h	2009-03-17 15:00:55.000000000 +0800
@@ -1015,9 +1015,9 @@
     /* http://ozlabs.org/pipermail/linuxppc-dev/1999-October/003889.html */
     unsigned long junk;
     __asm__ __volatile__ (
-        "mftbu   %1\n\t"
-        "mftb    %L0\n\t"
-        "mftbu   %0\n\t"
+        "mfspr   %1, 269\n\t"
+        "mfspr   %L0, 268\n\t"
+        "mfspr   %0 269\n\t"
         "cmpw    %0,%1\n\t"
         "bne     $-16"
         : "=r" (retval), "=r" (junk));
