aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2010-06-02 18:27:47 -0400
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-06-10 14:15:28 -0400
commit9840983a4f30145bcf0b82b6e2bc8518e7212fb5 (patch)
tree53e2e2938f513eeb22a8006d04c79b74311c8728
parent753fb14dfb0662e1d38758ffc6876c0ab1c7bd9e (diff)
Make litmus_sched_class static
litmus_sched_class wasn't declared static, but it's not used outside sched.c, so change it's signature to static.
-rw-r--r--litmus/sched_litmus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/sched_litmus.c b/litmus/sched_litmus.c
index 81ea464a81bc..c65388969789 100644
--- a/litmus/sched_litmus.c
+++ b/litmus/sched_litmus.c
@@ -276,7 +276,7 @@ static int select_task_rq_litmus(struct task_struct *p, int sd_flag, int flags)
276} 276}
277#endif 277#endif
278 278
279const struct sched_class litmus_sched_class = { 279static const struct sched_class litmus_sched_class = {
280 .next = &rt_sched_class, 280 .next = &rt_sched_class,
281 .enqueue_task = enqueue_task_litmus, 281 .enqueue_task = enqueue_task_litmus,
282 .dequeue_task = dequeue_task_litmus, 282 .dequeue_task = dequeue_task_litmus,