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

Commit 37225958 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "smp: Wake up all idle CPUs when suspending to idle"

parents b40e8040 4aa10d1e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
#include <linux/cpu.h>
#include <linux/sched.h>
#include <linux/hypervisor.h>
#include <linux/suspend.h>

#include "smpboot.h"

@@ -751,7 +752,8 @@ void wake_up_all_idle_cpus(void)
	for_each_online_cpu(cpu) {
		if (cpu == smp_processor_id())
			continue;
		if (!cpu_isolated(cpu))
		if (suspend_freeze_state == FREEZE_STATE_ENTER ||
		    !cpu_isolated(cpu))
			wake_up_if_idle(cpu);
	}
	preempt_enable();