sched: make rt_sched_class, idle_sched_class static
The C files are included directly in sched.c, so they are effectively static. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:

committed by
Ingo Molnar

parent
e05510d01a
commit
2abdad0a4c
@@ -1309,7 +1309,7 @@ static void set_curr_task_rt(struct rq *rq)
|
||||
p->se.exec_start = rq->clock;
|
||||
}
|
||||
|
||||
const struct sched_class rt_sched_class = {
|
||||
static const struct sched_class rt_sched_class = {
|
||||
.next = &fair_sched_class,
|
||||
.enqueue_task = enqueue_task_rt,
|
||||
.dequeue_task = dequeue_task_rt,
|
||||
|
Reference in New Issue
Block a user