diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-08-19 10:29:15 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:11 -0400 |
commit | fabffc13ed720eea986f80f432cedb4550f464ed (patch) | |
tree | a9e318deef331e9c551e126bdc9d2501097ef534 /include/asm-mips | |
parent | 27c7c1657df54352838d176b39e119b799bf7855 (diff) |
Remove workaround for binutils 2.15 assembler bug; this version is not
suitable to reliably build kernels anymore anyway and 2.16 has this
fixed.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/system.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index 0f8caf384249..b1ac3f5bfc3b 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h | |||
@@ -164,10 +164,6 @@ do { \ | |||
164 | __restore_dsp(current); \ | 164 | __restore_dsp(current); \ |
165 | } while(0) | 165 | } while(0) |
166 | 166 | ||
167 | #define ROT_IN_PIECES \ | ||
168 | " .set noreorder \n" \ | ||
169 | " .set reorder \n" | ||
170 | |||
171 | static inline unsigned long __xchg_u32(volatile int * m, unsigned int val) | 167 | static inline unsigned long __xchg_u32(volatile int * m, unsigned int val) |
172 | { | 168 | { |
173 | __u32 retval; | 169 | __u32 retval; |
@@ -183,7 +179,6 @@ static inline unsigned long __xchg_u32(volatile int * m, unsigned int val) | |||
183 | " .set mips3 \n" | 179 | " .set mips3 \n" |
184 | " sc %2, %1 \n" | 180 | " sc %2, %1 \n" |
185 | " beqzl %2, 1b \n" | 181 | " beqzl %2, 1b \n" |
186 | ROT_IN_PIECES | ||
187 | #ifdef CONFIG_SMP | 182 | #ifdef CONFIG_SMP |
188 | " sync \n" | 183 | " sync \n" |
189 | #endif | 184 | #endif |
@@ -235,7 +230,6 @@ static inline __u64 __xchg_u64(volatile __u64 * m, __u64 val) | |||
235 | " move %2, %z4 \n" | 230 | " move %2, %z4 \n" |
236 | " scd %2, %1 \n" | 231 | " scd %2, %1 \n" |
237 | " beqzl %2, 1b \n" | 232 | " beqzl %2, 1b \n" |
238 | ROT_IN_PIECES | ||
239 | #ifdef CONFIG_SMP | 233 | #ifdef CONFIG_SMP |
240 | " sync \n" | 234 | " sync \n" |
241 | #endif | 235 | #endif |
@@ -311,7 +305,6 @@ static inline unsigned long __cmpxchg_u32(volatile int * m, unsigned long old, | |||
311 | " move $1, %z4 \n" | 305 | " move $1, %z4 \n" |
312 | " sc $1, %1 \n" | 306 | " sc $1, %1 \n" |
313 | " beqzl $1, 1b \n" | 307 | " beqzl $1, 1b \n" |
314 | ROT_IN_PIECES | ||
315 | #ifdef CONFIG_SMP | 308 | #ifdef CONFIG_SMP |
316 | " sync \n" | 309 | " sync \n" |
317 | #endif | 310 | #endif |
@@ -367,7 +360,6 @@ static inline unsigned long __cmpxchg_u64(volatile int * m, unsigned long old, | |||
367 | " move $1, %z4 \n" | 360 | " move $1, %z4 \n" |
368 | " scd $1, %1 \n" | 361 | " scd $1, %1 \n" |
369 | " beqzl $1, 1b \n" | 362 | " beqzl $1, 1b \n" |
370 | ROT_IN_PIECES | ||
371 | #ifdef CONFIG_SMP | 363 | #ifdef CONFIG_SMP |
372 | " sync \n" | 364 | " sync \n" |
373 | #endif | 365 | #endif |