summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree_exp.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-07-04 00:02:28 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-08-31 01:02:48 +0200
commitec5dd444b678b1305d9af34ebb4cca17e0ef88e6 (patch)
treec7dcee23201305945e3ca73450b45540da57aabd /kernel/rcu/tree_exp.h
parentrcu: Remove RCU_STATE_INITIALIZER() (diff)
downloadlinux-ec5dd444b678b1305d9af34ebb4cca17e0ef88e6.tar.xz
linux-ec5dd444b678b1305d9af34ebb4cca17e0ef88e6.zip
rcu: Eliminate rcu_state structure's ->call field
The rcu_state structure's ->call field references the corresponding RCU flavor's call_rcu() function. However, now that there is only ever one rcu_state structure in a given build of the Linux kernel, and that flavor uses plain old call_rcu(), there is not a lot of point in continuing to have the ->call field. This commit therefore removes it. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree_exp.h')
-rw-r--r--kernel/rcu/tree_exp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree_exp.h b/kernel/rcu/tree_exp.h
index 5619edfd414e..224f05f0c0c9 100644
--- a/kernel/rcu/tree_exp.h
+++ b/kernel/rcu/tree_exp.h
@@ -619,7 +619,7 @@ static void _synchronize_rcu_expedited(struct rcu_state *rsp,
/* If expedited grace periods are prohibited, fall back to normal. */
if (rcu_gp_is_normal()) {
- wait_rcu_gp(rsp->call);
+ wait_rcu_gp(call_rcu);
return;
}