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

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

Merge "idle: Add a memory barrier after setting cpu_idle_force_poll"

parents fa2e19d8 a00c5ba3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@ void cpu_idle_poll_ctrl(bool enable)
		cpu_idle_force_poll--;
		WARN_ON_ONCE(cpu_idle_force_poll < 0);
	}

	/* Make sure poll mode is entered on all CPUs after the flag is set */
	mb();
}

#ifdef CONFIG_GENERIC_IDLE_POLL_SETUP