Commit 69202577 authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

[PATCH] large cpumask fix

The RCU code was missing cpus_empty() in one place, required with large
cpumasks.
parent e8c797a8
...@@ -182,7 +182,7 @@ static void rcu_offline_cpu(int cpu) ...@@ -182,7 +182,7 @@ static void rcu_offline_cpu(int cpu)
* it here * it here
*/ */
spin_lock_irq(&rcu_ctrlblk.mutex); spin_lock_irq(&rcu_ctrlblk.mutex);
if (!rcu_ctrlblk.rcu_cpu_mask) if (cpus_empty(rcu_ctrlblk.rcu_cpu_mask))
goto unlock; goto unlock;
cpu_clear(cpu, rcu_ctrlblk.rcu_cpu_mask); cpu_clear(cpu, rcu_ctrlblk.rcu_cpu_mask);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment