]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/lib/feature-fixups-test.S
powerpc: Fix building of feature-fixup tests on ppc32
[linux-2.6-omap-h63xx.git] / arch / powerpc / lib / feature-fixups-test.S
index 10d038b501a6793a98a0fa8f88605ebf606ced1a..0549be04399c0e75b29d6cefd9895f491d53e941 100644 (file)
@@ -139,14 +139,14 @@ globl(ftr_fixup_test6)
 1:     or      1,1,1
 BEGIN_FTR_SECTION
        or      5,5,5
-2:     cmpdi   r3,0
+2:     PPC_LCMPI       r3,0
        beq     4f
        blt     2b
        b       1b
        b       4f
 FTR_SECTION_ELSE
 2:     or      2,2,2
-       cmpdi   r3,1
+       PPC_LCMPI       r3,1
        beq     3f
        blt     2b
        b       3f
@@ -161,7 +161,7 @@ globl(end_ftr_fixup_test6)
 globl(ftr_fixup_test6_expected)
 1:     or      1,1,1
 2:     or      2,2,2
-       cmpdi   r3,1
+       PPC_LCMPI       r3,1
        beq     3f
        blt     2b
        b       3f