diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-03-03 04:42:05 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-03-21 08:27:47 -0500 |
commit | 0cea043b56443aef8a77539cdd79451f5d55009d (patch) | |
tree | 17368d7b32d8025471604101ea4037632c9e578b /include/asm-mips/system.h | |
parent | a206f6a7aa78cfaad1d4519e87d9a54fa2b5cfa6 (diff) |
[MIPS] Reformat __xchg().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/system.h')
-rw-r--r-- | include/asm-mips/system.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index ddae9bae31af..4097fac5ac3c 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h | |||
@@ -286,10 +286,10 @@ extern void __xchg_called_with_bad_pointer(void); | |||
286 | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) | 286 | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
287 | { | 287 | { |
288 | switch (size) { | 288 | switch (size) { |
289 | case 4: | 289 | case 4: |
290 | return __xchg_u32(ptr, x); | 290 | return __xchg_u32(ptr, x); |
291 | case 8: | 291 | case 8: |
292 | return __xchg_u64(ptr, x); | 292 | return __xchg_u64(ptr, x); |
293 | } | 293 | } |
294 | __xchg_called_with_bad_pointer(); | 294 | __xchg_called_with_bad_pointer(); |
295 | return x; | 295 | return x; |