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

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

Merge "cpuidle: Wrap cpu_online_mask usage with preempt_disable"

parents 699379e5 5eead384
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -618,13 +618,13 @@ static void wake_up_idle_cpus(void *v)
	int cpu;
	struct cpumask cpus;

	preempt_disable();
	if (v) {
		cpumask_andnot(&cpus, v, cpu_isolated_mask);
		cpumask_and(&cpus, &cpus, cpu_online_mask);
	} else
		cpumask_andnot(&cpus, cpu_online_mask, cpu_isolated_mask);

	preempt_disable();
	for_each_cpu(cpu, &cpus) {
		if (cpu == smp_processor_id())
			continue;