aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree_plugin.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-07-03 20:22:34 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-08-30 19:02:53 -0400
commit139ad4da5ab5d5600b46d930dbf4419577039d9c (patch)
tree9f9e1f77ce775b0fe2d2cb09618aaac4c2866920 /kernel/rcu/tree_plugin.h
parentaff4e9ede52badf550745c3d30ed5fcf86ed4351 (diff)
rcu: Remove rsp parameter from rcu_report_unblock_qs_rnp()
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_report_unblock_qs_rnp(), which is particularly appropriate in this case given that this parameter is no longer used. 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 18175ca19f34..566828ecaecb 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -566,7 +566,7 @@ rcu_preempt_deferred_qs_irqrestore(struct task_struct *t, unsigned long flags)
566 rnp->grplo, 566 rnp->grplo,
567 rnp->grphi, 567 rnp->grphi,
568 !!rnp->gp_tasks); 568 !!rnp->gp_tasks);
569 rcu_report_unblock_qs_rnp(&rcu_state, rnp, flags); 569 rcu_report_unblock_qs_rnp(rnp, flags);
570 } else { 570 } else {
571 raw_spin_unlock_irqrestore_rcu_node(rnp, flags); 571 raw_spin_unlock_irqrestore_rcu_node(rnp, flags);
572 } 572 }