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

Commit 8dd26b49 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cpuidle: Wrap cpu_online_mask usage with preempt_disable"

parents fd36cde0 42bd7dd7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -660,13 +660,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;