Signed-off-by: Leo Yan leo.yan@linaro.org --- kernel/sched/fair.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index d403816..80c5a91 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -4182,6 +4182,10 @@ static inline void hrtick_update(struct rq *rq) #endif
#ifdef CONFIG_SMP + +static inline long +schedtune_task_margin(struct task_struct *task); + static bool cpu_overutilized(int cpu); static bool cpu_halfutilized(int cpu); static bool need_spread_task(int cpu); @@ -5478,7 +5482,7 @@ schedtune_cpu_margin(unsigned long util, int cpu) return 0; }
-static inline int +static inline long schedtune_task_margin(struct task_struct *task) { return 0; -- 1.9.1