rcu: Apply ACCESS_ONCE() to rcu_boost() return value
authorPaul E. McKenney <paul.mckenney@linaro.org>
Fri, 9 Dec 2011 22:43:47 +0000 (14:43 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Dec 2011 18:33:19 +0000 (10:33 -0800)
Both TINY_RCU's and TREE_RCU's implementations of rcu_boost() access
the ->boost_tasks and ->exp_tasks fields without preventing concurrent
changes to these fields.  This commit therefore applies ACCESS_ONCE in
order to prevent compiler mischief.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

No differences found