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

Commit 3a7f9a4d authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched: Add a stub for walt_cpu_high_irqload() for !SCHED_WALT



walt_cpu_high_irqload() is a WALT specific function that indicates
whether a CPU is busy with high irq load or not. This function
is called from CPU selection code which is not tied to WALT which
results in a compilation error. Fix this by adding a stub for
walt_cpu_high_irqload().

Change-Id: Ib0da7c178f90f5b48c168f2143281745297bb593
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 758a8ccd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -181,7 +181,6 @@ static inline int sched_cpu_high_irqload(int cpu)
{
	return sched_irqload(cpu) >= sysctl_sched_cpu_high_irqload;
}
#define walt_cpu_high_irqload(cpu) sched_cpu_high_irqload(cpu)

static inline int exiting_task(struct task_struct *p)
{
@@ -384,4 +383,6 @@ static inline u64 sched_irqload(int cpu)
}
#endif /* CONFIG_SCHED_WALT */

#define walt_cpu_high_irqload(cpu) sched_cpu_high_irqload(cpu)

#endif