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

Commit b1bd5e38 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched: Fix compilation issues with schedutil for !SCHED_WALT



sched_ravg_window and sysctl_sched_use_walt_cpu_util are WALT specific
tunables. These are used outside !SCHED_WALT in schedutil. Add stubs
for these to fix compilation with WALT disabled.

Change-Id: I3f61cf06a857d52da5eda1d51701ad7cc21598d3
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent f9b1af1c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1915,6 +1915,9 @@ cpu_util_freq(int cpu, struct sched_walt_cpu_load *walt_load)
	return cpu_util_freq_pelt(cpu);
}

#define sched_ravg_window TICK_NSEC
#define sysctl_sched_use_walt_cpu_util 0

#endif /* CONFIG_SCHED_WALT */

extern unsigned long