This commit was generated by cvs2svn to compensate for changes in r1129,
[linux-2.6.git] / arch / ppc / kernel / idle_power4.S
index 538a044..cc0d535 100644 (file)
@@ -20,7 +20,7 @@
 #include <asm/cputable.h>
 #include <asm/thread_info.h>
 #include <asm/ppc_asm.h>
-#include <asm/offsets.h>
+#include <asm/asm-offsets.h>
 
 #undef DEBUG
 
@@ -56,7 +56,7 @@ END_FTR_SECTION_IFCLR(CPU_FTR_CAN_NAP)
        /* Now check if user or arch enabled NAP mode */
        lis     r4,powersave_nap@ha
        lwz     r4,powersave_nap@l(r4)
-       cmp   0,r4,0
+       cmpwi   0,r4,0
        beqlr
 
        /* Clear MSR:EE */