diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-07-01 11:16:16 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-07-03 02:58:09 -0400 |
commit | 5888da18765ca9af7f10015263d8bc8e3057f128 (patch) | |
tree | eec5c7eaa9d8a31d877d49639b787c5ac71b5fb2 /arch | |
parent | e17a2565bf61204cb925c3f77c3c7f6a09eb2fbe (diff) |
powerpc: Fix building of feature-fixup tests on ppc32
We need to use PPC_LCMPI otherwise we get compile errors like:
arch/powerpc/lib/feature-fixups-test.S: Assembler messages:
arch/powerpc/lib/feature-fixups-test.S:142: Error: Unrecognized opcode: `cmpdi'
arch/powerpc/lib/feature-fixups-test.S:149: Error: Unrecognized opcode: `cmpdi'
arch/powerpc/lib/feature-fixups-test.S:164: Error: Unrecognized opcode: `cmpdi'
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/lib/feature-fixups-test.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/lib/feature-fixups-test.S b/arch/powerpc/lib/feature-fixups-test.S index 10d038b501a6..0549be04399c 100644 --- a/arch/powerpc/lib/feature-fixups-test.S +++ b/arch/powerpc/lib/feature-fixups-test.S | |||
@@ -139,14 +139,14 @@ globl(ftr_fixup_test6) | |||
139 | 1: or 1,1,1 | 139 | 1: or 1,1,1 |
140 | BEGIN_FTR_SECTION | 140 | BEGIN_FTR_SECTION |
141 | or 5,5,5 | 141 | or 5,5,5 |
142 | 2: cmpdi r3,0 | 142 | 2: PPC_LCMPI r3,0 |
143 | beq 4f | 143 | beq 4f |
144 | blt 2b | 144 | blt 2b |
145 | b 1b | 145 | b 1b |
146 | b 4f | 146 | b 4f |
147 | FTR_SECTION_ELSE | 147 | FTR_SECTION_ELSE |
148 | 2: or 2,2,2 | 148 | 2: or 2,2,2 |
149 | cmpdi r3,1 | 149 | PPC_LCMPI r3,1 |
150 | beq 3f | 150 | beq 3f |
151 | blt 2b | 151 | blt 2b |
152 | b 3f | 152 | b 3f |
@@ -161,7 +161,7 @@ globl(end_ftr_fixup_test6) | |||
161 | globl(ftr_fixup_test6_expected) | 161 | globl(ftr_fixup_test6_expected) |
162 | 1: or 1,1,1 | 162 | 1: or 1,1,1 |
163 | 2: or 2,2,2 | 163 | 2: or 2,2,2 |
164 | cmpdi r3,1 | 164 | PPC_LCMPI r3,1 |
165 | beq 3f | 165 | beq 3f |
166 | blt 2b | 166 | blt 2b |
167 | b 3f | 167 | b 3f |