diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-04 02:22:34 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-08-31 01:03:14 +0200 |
commit | 63d4c8c97948b0be8cb7ef3b7b943c25864eae4b (patch) | |
tree | 2ac33471426b489f882ad3bbc369e0e525418dfb /kernel/rcu/tree.h | |
parent | rcu: Remove rsp parameter from no-CBs CPU functions (diff) | |
download | linux-63d4c8c97948b0be8cb7ef3b7b943c25864eae4b.tar.xz linux-63d4c8c97948b0be8cb7ef3b7b943c25864eae4b.zip |
rcu: Remove rsp parameter from expedited grace-period functions
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 the code in kernel/rcu/tree_exp.h, and removes all of the
rsp local variables while in the area.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.h')
-rw-r--r-- | kernel/rcu/tree.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index 7c6033d71e9d..b21d79bdab23 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h @@ -61,7 +61,6 @@ struct rcu_dynticks { /* Communicate arguments to a workqueue handler. */ struct rcu_exp_work { smp_call_func_t rew_func; - struct rcu_state *rew_rsp; unsigned long rew_s; struct work_struct rew_work; }; |