smp: Do not wake up all idle CPUs

Do not wake up cpus that are isolated.

Change-Id: I07702bb5b738c1c75c49a2ca4cb08be0231ccb12
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
This commit is contained in:
Olav Haugan 2016-05-29 19:53:00 -07:00
parent bc24c063ef
commit e38c1ce123

View file

@ -766,8 +766,8 @@ void wake_up_all_idle_cpus(void)
for_each_online_cpu(cpu) {
if (cpu == smp_processor_id())
continue;
wake_up_if_idle(cpu);
if (!cpu_isolated(cpu))
wake_up_if_idle(cpu);
}
preempt_enable();
}