Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1774bac9 authored by Olav Haugan's avatar Olav Haugan Committed by Satya Durga Srinivasu Prabhala
Browse files

smp: Do not wake up all idle CPUs



Do not wake up cpus that are isolated.

Change-Id: I07702bb5b738c1c75c49a2ca4cb08be0231ccb12
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
parent 99638f95
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -772,6 +772,7 @@ void wake_up_all_idle_cpus(void)
		if (cpu == smp_processor_id())
			continue;

		if (!cpu_isolated(cpu))
			wake_up_if_idle(cpu);
	}
	preempt_enable();