summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree_plugin.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-07-03 17:22:34 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-08-30 16:03:04 -0700
commit780cd590836fe24bc2a81b8cd7c2f9cbe495421e (patch)
tree7578c61398ffefa6debfbd0a670225e553f6c2ce /kernel/rcu/tree_plugin.h
parent8087d3e3c453a7caad389dbd78a32bf19a536928 (diff)
downloadlinux-stable-780cd590836fe24bc2a81b8cd7c2f9cbe495421e.tar.gz
linux-stable-780cd590836fe24bc2a81b8cd7c2f9cbe495421e.tar.bz2
linux-stable-780cd590836fe24bc2a81b8cd7c2f9cbe495421e.zip
rcu: Remove rsp parameter from CPU hotplug functions
There now is only one rcu_state structure in a given build of the Linux kernel, so there is no need to pass it as a parameter to RCU's functions. This commit therefore removes the rsp parameter from rcu_cleanup_dying_cpu() and rcu_cleanup_dead_cpu(). And, as long as we are in the neighborhood, inlines them into rcutree_dying_cpu() and rcutree_dead_cpu(), respectively. This also eliminates a pair of for_each_rcu_flavor() loops. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree_plugin.h')
0 files changed, 0 insertions, 0 deletions