summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
authorPaul E. McKenney2018-07-04 02:22:34 +0200
committerPaul E. McKenney2018-08-31 01:03:12 +0200
commitb21ebed951010acccbe9a55337d16cf4da4cce0a (patch)
tree8cfd821c4067ec63af29d6d1c1008bb6e48b4ad9 /kernel/rcu/tree.c
parentrcu: Remove rsp parameter from rcu_spawn_one_boost_kthread() (diff)
downloadkernel-qcow2-linux-b21ebed951010acccbe9a55337d16cf4da4cce0a.tar.gz
kernel-qcow2-linux-b21ebed951010acccbe9a55337d16cf4da4cce0a.tar.xz
kernel-qcow2-linux-b21ebed951010acccbe9a55337d16cf4da4cce0a.zip
rcu: Remove rsp parameter from print_cpu_stall_info()
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 print_cpu_stall_info(). Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r--kernel/rcu/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 0d69f198390b..1042863dab52 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -1342,7 +1342,7 @@ static void print_other_cpu_stall(unsigned long gp_seq)
if (rnp->qsmask != 0) {
for_each_leaf_node_possible_cpu(rnp, cpu)
if (rnp->qsmask & leaf_node_cpu_bit(rnp, cpu)) {
- print_cpu_stall_info(rsp, cpu);
+ print_cpu_stall_info(cpu);
ndetected++;
}
}
@@ -1409,7 +1409,7 @@ static void print_cpu_stall(void)
pr_err("INFO: %s self-detected stall on CPU", rsp->name);
print_cpu_stall_info_begin();
raw_spin_lock_irqsave_rcu_node(rdp->mynode, flags);
- print_cpu_stall_info(rsp, smp_processor_id());
+ print_cpu_stall_info(smp_processor_id());
raw_spin_unlock_irqrestore_rcu_node(rdp->mynode, flags);
print_cpu_stall_info_end();
for_each_possible_cpu(cpu)