lkml.org 
[lkml]   [2020]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 22/23] sched: Remove sched_setscheduler*() EXPORTs
    Now that nothing (modular) still uses sched_setscheduler(), remove the
    exports.

    Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    Reviewed-by: Ingo Molnar <mingo@kernel.org>
    ---
    kernel/sched/core.c | 3 ---
    1 file changed, 3 deletions(-)

    --- a/kernel/sched/core.c
    +++ b/kernel/sched/core.c
    @@ -5066,13 +5066,11 @@ int sched_setscheduler(struct task_struc
    {
    return _sched_setscheduler(p, policy, param, true);
    }
    -EXPORT_SYMBOL_GPL(sched_setscheduler);

    int sched_setattr(struct task_struct *p, const struct sched_attr *attr)
    {
    return __sched_setscheduler(p, attr, true, true);
    }
    -EXPORT_SYMBOL_GPL(sched_setattr);

    int sched_setattr_nocheck(struct task_struct *p, const struct sched_attr *attr)
    {
    @@ -5097,7 +5095,6 @@ int sched_setscheduler_nocheck(struct ta
    {
    return _sched_setscheduler(p, policy, param, false);
    }
    -EXPORT_SYMBOL_GPL(sched_setscheduler_nocheck);

    /*
    * SCHED_FIFO is a broken scheduler model; that is, it is fundamentally

    \
     
     \ /
      Last update: 2020-04-22 13:30    [W:4.080 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site