rcu: Use WRITE_ONCE in RCU_INIT_POINTER
authorPeter Zijlstra <peterz@infradead.org>
Tue, 2 Jun 2015 15:26:48 +0000 (17:26 +0200)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 22 Jul 2015 22:27:27 +0000 (15:27 -0700)
commit155d1d12786386d21732f9bba036343ffa43847d
tree9b50f2482c59f15d222ec348c2d7d166304736f3
parentbe55fa2ad244678beed11d2827d88b7f80ff4730
rcu: Use WRITE_ONCE in RCU_INIT_POINTER

For the paranoid amongst us GCC would be in its right to use byte stores
to write our NULL value, tell it not to do that.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcupdate.h