diff options
-rw-r--r-- | include/linux/rcupdate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 00ad28168ef0..97853cd2d7b4 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h | |||
@@ -551,7 +551,7 @@ static inline void rcu_preempt_sleep_check(void) | |||
551 | #define __rcu_assign_pointer(p, v, space) \ | 551 | #define __rcu_assign_pointer(p, v, space) \ |
552 | do { \ | 552 | do { \ |
553 | smp_wmb(); \ | 553 | smp_wmb(); \ |
554 | (p) = (typeof(*v) __force space *)(v); \ | 554 | ACCESS_ONCE(p) = (typeof(*(v)) __force space *)(v); \ |
555 | } while (0) | 555 | } while (0) |
556 | 556 | ||
557 | 557 | ||