]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rcu: Remove "cpu" argument to rcu_needs_cpu()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 21 Oct 2014 20:23:08 +0000 (13:23 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 4 Nov 2014 03:20:43 +0000 (19:20 -0800)
commitaa6da5140b784ece799f670bf532096f67aa7785
tree23cbf7f15431d83ef85ddf0ce23e2ba44ea5cad5
parent38200cf24702e5d79ce6c8f4c62036c41845c62d
rcu: Remove "cpu" argument to rcu_needs_cpu()

The "cpu" argument to rcu_needs_cpu() is always the current CPU, so drop
it.  This in turn allows the "cpu" argument to rcu_cpu_has_callbacks()
to be removed, which allows the uses of "cpu" in both functions to be
replaced with a this_cpu_ptr().  Again, the anticipated cross-CPU uses
of these functions has been replaced by NO_HZ_FULL.

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