From: Paul E. McKenney Date: Fri, 9 Dec 2011 22:43:47 +0000 (-0800) Subject: rcu: Apply ACCESS_ONCE() to rcu_boost() return value X-Git-Tag: v3.3-rc1~193^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f89b336fd1edf0c88875d0b7fcdc288c7de903d;p=pandora-kernel.git rcu: Apply ACCESS_ONCE() to rcu_boost() return value 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 Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed