aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-25 13:53:13 -0400
committerIngo Molnar <mingo@elte.hu>2008-05-05 17:56:17 -0400
commit2abdad0a4cd8f9413f778cc998e0ee7d60b28417 (patch)
treec7bd3839e765c2991d3dfbfb1f5f83d58f1211e3 /kernel/sched_rt.c
parente05510d01ad1565e5e086a939261084d67ba2b10 (diff)
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>
Diffstat (limited to 'kernel/sched_rt.c')
-rw-r--r--kernel/sched_rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index c2730a5a4f05..dcd649588593 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -1309,7 +1309,7 @@ static void set_curr_task_rt(struct rq *rq)
1309 p->se.exec_start = rq->clock; 1309 p->se.exec_start = rq->clock;
1310} 1310}
1311 1311
1312const struct sched_class rt_sched_class = { 1312static const struct sched_class rt_sched_class = {
1313 .next = &fair_sched_class, 1313 .next = &fair_sched_class,
1314 .enqueue_task = enqueue_task_rt, 1314 .enqueue_task = enqueue_task_rt,
1315 .dequeue_task = dequeue_task_rt, 1315 .dequeue_task = dequeue_task_rt,