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

Commit 3137bfb7 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cpuidle: Wrap cpu_online_mask usage with preempt_disable"

parents 11ee5254 addde8bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -640,13 +640,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;