diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-02-18 16:39:09 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-02-26 12:03:01 -0800 |
commit | 5afff48bdf7481570c9385a8a674a81ffb8f09ee (patch) | |
tree | ed5c3a224b7227e9055d0a6e5afab49d4c26571c /kernel/rcu/tree_plugin.h | |
parent | 4bb3c5f4142a359de46cf14ebab64c4c903d6773 (diff) | |
download | blackbird-op-linux-5afff48bdf7481570c9385a8a674a81ffb8f09ee.tar.gz blackbird-op-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.h | 2 |
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); |