Quellcode durchsuchen

rcu: Assign false instead of 0 for ->core_needs_qs

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>
Paul E. McKenney vor 9 Jahren
Ursprung
Commit
bb53e416e0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      kernel/rcu/tree.c

+ 1 - 1
kernel/rcu/tree.c

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