lkml.org 
[lkml]   [2015]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched: Fix compiler errors for NO_SMP machines

* Abel Vesa <abelvesa@gmail.com> wrote:

> Trivial fixes forh machines without SMP.
>
> Signed-off-by: Abel Vesa <abelvesa@gmail.com>
> ---
> kernel/sched/fair.c | 12 ++++++++----
> 1 file changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
> index e6d32e6..dae3db7 100644
> --- a/kernel/sched/fair.c
> +++ b/kernel/sched/fair.c
> @@ -672,6 +672,8 @@ static unsigned long task_h_load(struct task_struct *p);
> static inline void __update_task_entity_contrib(struct sched_entity *se);
> static inline void __update_task_entity_utilization(struct sched_entity *se);
>
> +static bool cpu_overutilized(int cpu);
> +
> /* Give new task start runnable values to heavy its load in infant time */
> void init_task_runnable_average(struct task_struct *p)
> {
> @@ -4266,8 +4268,6 @@ static inline void hrtick_update(struct rq *rq)
> }
> #endif
>
> -static bool cpu_overutilized(int cpu);
> -

What tree is this against? Neither the upstream kernel nor
tip:sched/core (the scheduler development tree) has this function.

Thanks,

Ingo


\
 
 \ /
  Last update: 2015-05-23 17:21    [W:0.110 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site