projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a206f6a
)
[MIPS] Reformat __xchg().
author
Ralf Baechle
<ralf@linux-mips.org>
Fri, 3 Mar 2006 09:42:05 +0000
(09:42 +0000)
committer
Ralf 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
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-mips/system.h
b/include/asm-mips/system.h
index ddae9bae31af1e084979a1c778d22b74c35c42c8..4097fac5ac3cf66874a248b18ae0cba66adffe16 100644
(file)
--- a/
include/asm-mips/system.h
+++ b/
include/asm-mips/system.h
@@
-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;