summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree_plugin.h
diff options
context:
space:
mode:
authorPaul E. McKenney2015-02-19 01:39:09 +0100
committerPaul E. McKenney2015-02-26 21:03:01 +0100
commit5afff48bdf7481570c9385a8a674a81ffb8f09ee (patch)
treeed5c3a224b7227e9055d0a6e5afab49d4c26571c /kernel/rcu/tree_plugin.h
parentrcu: Add rcu_expedite_gp() and rcu_unexpedite_gp() to rcutorture (diff)
downloadkernel-qcow2-linux-5afff48bdf7481570c9385a8a674a81ffb8f09ee.tar.gz
kernel-qcow2-linux-5afff48bdf7481570c9385a8a674a81ffb8f09ee.tar.xz
kernel-qcow2-linux-5afff48bdf7481570c9385a8a674a81ffb8f09ee.zip
rcu: Update from rcu_expedited variable to rcu_gp_is_expedited()
This commit updates open-coded tests of the rcu_expedited variable to instead use rcu_gp_is_expedited(). 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 0a571e9a0f1d..63726b734d34 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -585,7 +585,7 @@ void synchronize_rcu(void)
"Illegal synchronize_rcu() in RCU read-side critical section");
if (!rcu_scheduler_active)
return;
- if (rcu_expedited)
+ if (rcu_gp_is_expedited())
synchronize_rcu_expedited();
else
wait_rcu_gp(call_rcu);