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:05 -0700
commit5bb5d09cc4f868497dfec2f8101f580f2c571816 (patch)
treefa22df679fb9f81fea587c4047e413da7853a8c0 /kernel/rcu/tree_plugin.h
parent780cd590836fe24bc2a81b8cd7c2f9cbe495421e (diff)
downloadlinux-stable-5bb5d09cc4f868497dfec2f8101f580f2c571816.tar.gz
linux-stable-5bb5d09cc4f868497dfec2f8101f580f2c571816.tar.bz2
linux-stable-5bb5d09cc4f868497dfec2f8101f580f2c571816.zip
rcu: Remove rsp parameter from rcu_do_batch()
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_do_batch(). Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree_plugin.h')
-rw-r--r--kernel/rcu/tree_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 82f10a6bf266..c678c76a754e 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -1324,7 +1324,7 @@ static int rcu_spawn_one_boost_kthread(struct rcu_state *rsp,
static void rcu_kthread_do_work(void)
{
- rcu_do_batch(&rcu_state, this_cpu_ptr(&rcu_data));
+ rcu_do_batch(this_cpu_ptr(&rcu_data));
}
static void rcu_cpu_kthread_setup(unsigned int cpu)