rcu: Assign false instead of 0 for ->core_needs_qs
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 10 Dec 2015 17:30:12 +0000 (09:30 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 24 Feb 2016 03:59:51 +0000 (19:59 -0800)
A zero seems to have escaped earlier true/false substitution efforts,
so this commit changes 0 to false for the ->core_needs_qs boolean field.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c

index e41dd4131f7a141976e771653e3169f2955f6f33..b8bbf3b272410fe5d76710b2e05426e8bd78ed99 100644 (file)
@@ -2390,7 +2390,7 @@ rcu_report_qs_rdp(int cpu, struct rcu_state *rsp, struct rcu_data *rdp)
        if ((rnp->qsmask & mask) == 0) {
                raw_spin_unlock_irqrestore(&rnp->lock, flags);
        } else {
-               rdp->core_needs_qs = 0;
+               rdp->core_needs_qs = false;
 
                /*
                 * This GP can't end until cpu checks in, so all of our