diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2011-12-09 23:43:47 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-12-11 19:33:19 +0100 |
commit | 4f89b336fd1edf0c88875d0b7fcdc288c7de903d (patch) | |
tree | 8cadb7d4c326ad01ce7f0da55db8f03af17917e6 /kernel/cpu.c | |
parent | Revert "rcu: Permit rt_mutex_unlock() with irqs disabled" (diff) | |
download | linux-4f89b336fd1edf0c88875d0b7fcdc288c7de903d.tar.xz linux-4f89b336fd1edf0c88875d0b7fcdc288c7de903d.zip |
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 <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions