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/srcu.c | |
parent | 4bb3c5f4142a359de46cf14ebab64c4c903d6773 (diff) | |
download | linux-5afff48bdf7481570c9385a8a674a81ffb8f09ee.tar.gz linux-5afff48bdf7481570c9385a8a674a81ffb8f09ee.tar.bz2 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); } |