mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-12 08:00:09 +00:00
[MIPS] Reformat __xchg().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
a206f6a7aa
commit
0cea043b56
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user