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:
parent
bc24c063ef
commit
e38c1ce123
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue