lkml.org 
[lkml]   [2009]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    SubjectRe: [RFC][PATCH] SCHED_EDF scheduling class
    From
    2009/9/23 Linus Walleij <linus.ml.walleij@gmail.com>:

    > In file included from /home/linus/src/linux-trees/linux-2.6/kernel/sched.c:1856:
    > /home/linus/src/linux-trees/linux-2.6/kernel/sched_edf.c: In function
    > 'pick_next_task_edf':
    > /home/linus/src/linux-trees/linux-2.6/kernel/sched_edf.c:435: error:
    > implicit declaration of function 'hrtick_enabled'

    Nah, no complex explanations... it's just compiled out but still used,
    here's another patch:

    diff --git a/kernel/sched_edf.c b/kernel/sched_edf.c
    index cdec433..198ad6b 100644
    --- a/kernel/sched_edf.c
    +++ b/kernel/sched_edf.c
    @@ -431,9 +431,11 @@ struct task_struct *pick_next_task_edf(struct rq *rq)
    BUG_ON(!edf_se);

    p = edf_task_of(edf_se);
    - p->se.exec_start = rq->clock;
    + p->se.exec_start = rq->clock
    +#ifdef CONFIG_SCHED_HRTICK
    if (hrtick_enabled(rq))
    start_hrtick_edf(rq, p);
    +#endif

    return p;
    }
    Yours,
    Linus Walleij


    \
     
     \ /
      Last update: 2009-09-23 14:53    [W:0.023 / U:0.280 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site