summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree_plugin.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-07-04 02:22:34 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-08-31 01:02:55 +0200
commit336a4f6c451e488b5388a2593fa20f7192706c7b (patch)
tree973308dbd01ac0cacd2cff27db9b0ea06536feaa /kernel/rcu/tree_plugin.h
parentrcu: Remove rsp parameter from rcu_gp_in_progress() (diff)
downloadlinux-336a4f6c451e488b5388a2593fa20f7192706c7b.tar.xz
linux-336a4f6c451e488b5388a2593fa20f7192706c7b.zip
rcu: Remove rsp parameter from rcu_get_root()
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_get_root(). 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 99f517035a6e..545e4ac9422a 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -685,7 +685,7 @@ static void rcu_print_detail_task_stall_rnp(struct rcu_node *rnp)
*/
static void rcu_print_detail_task_stall(struct rcu_state *rsp)
{
- struct rcu_node *rnp = rcu_get_root(rsp);
+ struct rcu_node *rnp = rcu_get_root();
rcu_print_detail_task_stall_rnp(rnp);
rcu_for_each_leaf_node(rsp, rnp)