mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
NULL noise: frv cmpxchg()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
91e916cffe
commit
7c43f2b888
@ -234,7 +234,7 @@ extern void free_initmem(void);
|
||||
break; \
|
||||
\
|
||||
default: \
|
||||
__xg_orig = 0; \
|
||||
__xg_orig = (__typeof__(__xg_orig))0; \
|
||||
asm volatile("break"); \
|
||||
break; \
|
||||
} \
|
||||
@ -259,7 +259,7 @@ extern uint32_t __cmpxchg_32(uint32_t *v, uint32_t test, uint32_t new);
|
||||
(__force uint32_t)__xg_test, \
|
||||
(__force uint32_t)__xg_new); break; \
|
||||
default: \
|
||||
__xg_orig = 0; \
|
||||
__xg_orig = (__typeof__(__xg_orig))0; \
|
||||
asm volatile("break"); \
|
||||
break; \
|
||||
} \
|
||||
|
Loading…
Reference in New Issue
Block a user