Fix minor errors for function definition, so can build successfully.
Signed-off-by: Leo Yan leo.yan@linaro.org --- kernel/sched/fair.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 16eb48d..924adec 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -4198,6 +4198,9 @@ 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 inline unsigned long boosted_cpu_util(int cpu); #else @@ -5432,7 +5435,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