diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-02-18 19:39:09 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-02-26 15:03:01 -0500 |
commit | 5afff48bdf7481570c9385a8a674a81ffb8f09ee (patch) | |
tree | ed5c3a224b7227e9055d0a6e5afab49d4c26571c /kernel/rcu/srcu.c | |
parent | 4bb3c5f4142a359de46cf14ebab64c4c903d6773 (diff) |
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) | |||
507 | */ | 507 | */ |
508 | void synchronize_srcu(struct srcu_struct *sp) | 508 | void synchronize_srcu(struct srcu_struct *sp) |
509 | { | 509 | { |
510 | __synchronize_srcu(sp, rcu_expedited | 510 | __synchronize_srcu(sp, rcu_gp_is_expedited() |
511 | ? SYNCHRONIZE_SRCU_EXP_TRYCOUNT | 511 | ? SYNCHRONIZE_SRCU_EXP_TRYCOUNT |
512 | : SYNCHRONIZE_SRCU_TRYCOUNT); | 512 | : SYNCHRONIZE_SRCU_TRYCOUNT); |
513 | } | 513 | } |