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

Commit d04bde13 authored by Junjie Wu's avatar Junjie Wu Committed by Gerrit - the friendly Code Review server
Browse files

sched: Add stub function for sched_get_cpus_busy()



sched_get_cpus_busy() could be used by code common to systems with or
without CONFIG_SCHED_FREQ_INPUT set. Add stub implementation for this
function when CONFIG_SCHED_FREQ_INPUT is not set.

Change-Id: Ie9542376474dd46274141e0d0806c4c2215b99e5
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent 095c42a3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1976,6 +1976,8 @@ static inline unsigned long sched_get_busy(int cpu)
{
	return 0;
}
static inline void sched_get_cpus_busy(unsigned long *busy,
				const struct cpumask *query_cpus) {};
static inline void sched_set_io_is_busy(int val) {};
#endif