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

Commit d10fa50f authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

sched: fair: Fix IRQ awareness



Pass in the right variable (the cpu iterator) to
sched_cpu_high_irqload(), rather than smp_processor_id().

Change-Id: Iaeda55f0fd0ef6e87ebe244aae70a38285df4f2f
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent 6ce8ab38
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6996,7 +6996,7 @@ static int energy_aware_wake_cpu(struct task_struct *p, int target, int sync)
			if (is_reserved(i))
				continue;

			if (sched_cpu_high_irqload(cpu))
			if (sched_cpu_high_irqload(i))
				continue;

			/*