diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-02-19 01:39:09 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-02-26 21:03:01 +0100 |
commit | 5afff48bdf7481570c9385a8a674a81ffb8f09ee (patch) | |
tree | ed5c3a224b7227e9055d0a6e5afab49d4c26571c /kernel/rcu/srcu.c | |
parent | rcu: Add rcu_expedite_gp() and rcu_unexpedite_gp() to rcutorture (diff) | |
download | linux-5afff48bdf7481570c9385a8a674a81ffb8f09ee.tar.xz 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/srcu.c')
-rw-r--r-- | kernel/rcu/srcu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/srcu.c b/kernel/rcu/srcu.c index 445bf8ffe3fb..c871f07eff69 100644 --- a/kernel/rcu/srcu.c +++ b/kernel/rcu/srcu.c @@ -507,7 +507,7 @@ static void __synchronize_srcu(struct srcu_struct *sp, int trycount) */ void synchronize_srcu(struct srcu_struct *sp) { - __synchronize_srcu(sp, rcu_expedited + __synchronize_srcu(sp, rcu_gp_is_expedited() ? SYNCHRONIZE_SRCU_EXP_TRYCOUNT : SYNCHRONIZE_SRCU_TRYCOUNT); } |