rcu: Remove "cpu" argument to rcu_preempt_check_callbacks()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 21 Oct 2014 15:12:00 +0000 (08:12 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 4 Nov 2014 03:20:26 +0000 (19:20 -0800)
commit86aea0e6e7d571a9452082a7198d0603cc5dd965
tree353941d11b01fdca6544ec7f18e231ab319a11a6
parente3950ecd55383f7bd8a06a9649091ccfbbcf5505
rcu: Remove "cpu" argument to rcu_preempt_check_callbacks()

Because rcu_preempt_check_callbacks()'s argument is guaranteed to
always be the current CPU, drop the argument and replace per_cpu()
with __this_cpu_read().

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
kernel/rcu/tree.c
kernel/rcu/tree.h
kernel/rcu/tree_plugin.h