mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
rcu: Fix irritating whitespace error in rcu_assign_pointer()
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
This commit is contained in:
parent
96050c68be
commit
b3119cde1d
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ static inline void rcu_preempt_sleep_check(void) { }
|
||||||
#define rcu_assign_pointer(p, v) \
|
#define rcu_assign_pointer(p, v) \
|
||||||
({ \
|
({ \
|
||||||
uintptr_t _r_a_p__v = (uintptr_t)(v); \
|
uintptr_t _r_a_p__v = (uintptr_t)(v); \
|
||||||
rcu_check_sparse(p, __rcu); \
|
rcu_check_sparse(p, __rcu); \
|
||||||
\
|
\
|
||||||
if (__builtin_constant_p(v) && (_r_a_p__v) == (uintptr_t)NULL) \
|
if (__builtin_constant_p(v) && (_r_a_p__v) == (uintptr_t)NULL) \
|
||||||
WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
|
WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue