diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-08-08 23:37:47 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-09-20 18:43:06 +0200 |
commit | b3f2d02598fcf16933f72a57bbba7edb22ad8eda (patch) | |
tree | c5c2bb955a54d4999b8c7fd8eca61e267d2a1dae /kernel/rcutree.c | |
parent | mm: Place preemption point in do_mlockall() loop (diff) | |
download | linux-b3f2d02598fcf16933f72a57bbba7edb22ad8eda.tar.xz linux-b3f2d02598fcf16933f72a57bbba7edb22ad8eda.zip |
rcu: Use proper cpp macro for ->gp_flags
One of the ->gp_flags assignments used a raw number rather than the
cpp macro that was intended for this purpose, which this commit fixes.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 32618b3fe4e6..e0fa1920cd67 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c @@ -1452,7 +1452,7 @@ static void rcu_gp_cleanup(struct rcu_state *rsp) rdp = this_cpu_ptr(rsp->rda); rcu_advance_cbs(rsp, rnp, rdp); /* Reduce false positives below. */ if (cpu_needs_another_gp(rsp, rdp)) - rsp->gp_flags = 1; + rsp->gp_flags = RCU_GP_FLAG_INIT; raw_spin_unlock_irq(&rnp->lock); } |