Messages in this thread | | | Date | Sat, 23 May 2015 16:52:23 +0200 | From | Ingo Molnar <> | Subject | Re: [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
| |