]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[MIPS] Reformat __xchg().
authorRalf Baechle <ralf@linux-mips.org>
Fri, 3 Mar 2006 09:42:05 +0000 (09:42 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 21 Mar 2006 13:27:47 +0000 (13:27 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/system.h

index ddae9bae31af1e084979a1c778d22b74c35c42c8..4097fac5ac3cf66874a248b18ae0cba66adffe16 100644 (file)
@@ -286,10 +286,10 @@ extern void __xchg_called_with_bad_pointer(void);
 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size)
 {
        switch (size) {
-               case 4:
-                       return __xchg_u32(ptr, x);
-               case 8:
-                       return __xchg_u64(ptr, x);
+       case 4:
+               return __xchg_u32(ptr, x);
+       case 8:
+               return __xchg_u64(ptr, x);
        }
        __xchg_called_with_bad_pointer();
        return x;