diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-03 20:22:34 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-08-30 19:02:59 -0400 |
commit | 532c00c97f16a2a8576d453ae13ddc38162faed4 (patch) | |
tree | bb0ef9c4b2269aa33fcfbe252dc335ef91e7c1f9 /kernel/rcu/tree_plugin.h | |
parent | 3481f2eab09563456bbc7cb358ad5d151a509064 (diff) |
rcu: Remove rsp parameter from rcu_gp_kthread_wake()
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_gp_kthread_wake().
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 545e4ac9422a..50ca000ad9f2 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h | |||
@@ -1700,7 +1700,7 @@ static void rcu_prepare_for_idle(void) | |||
1700 | needwake = rcu_accelerate_cbs(rsp, rnp, rdp); | 1700 | needwake = rcu_accelerate_cbs(rsp, rnp, rdp); |
1701 | raw_spin_unlock_rcu_node(rnp); /* irqs remain disabled. */ | 1701 | raw_spin_unlock_rcu_node(rnp); /* irqs remain disabled. */ |
1702 | if (needwake) | 1702 | if (needwake) |
1703 | rcu_gp_kthread_wake(rsp); | 1703 | rcu_gp_kthread_wake(); |
1704 | } | 1704 | } |
1705 | } | 1705 | } |
1706 | 1706 | ||
@@ -2147,7 +2147,7 @@ static void rcu_nocb_wait_gp(struct rcu_data *rdp) | |||
2147 | needwake = rcu_start_this_gp(rnp, rdp, c); | 2147 | needwake = rcu_start_this_gp(rnp, rdp, c); |
2148 | raw_spin_unlock_irqrestore_rcu_node(rnp, flags); | 2148 | raw_spin_unlock_irqrestore_rcu_node(rnp, flags); |
2149 | if (needwake) | 2149 | if (needwake) |
2150 | rcu_gp_kthread_wake(rdp->rsp); | 2150 | rcu_gp_kthread_wake(); |
2151 | } | 2151 | } |
2152 | 2152 | ||
2153 | /* | 2153 | /* |