diff options
-rw-r--r-- | kernel/sched/sched.h | 1 | ||||
-rw-r--r-- | kernel/sched/stop_task.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index e8e1bcc5aaa9..fc579e161dc0 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h | |||
@@ -1022,6 +1022,7 @@ struct sched_class { | |||
1022 | for (class = sched_class_highest; class; class = class->next) | 1022 | for (class = sched_class_highest; class; class = class->next) |
1023 | 1023 | ||
1024 | extern const struct sched_class stop_sched_class; | 1024 | extern const struct sched_class stop_sched_class; |
1025 | extern const struct sched_class litmus_sched_class; | ||
1025 | extern const struct sched_class rt_sched_class; | 1026 | extern const struct sched_class rt_sched_class; |
1026 | extern const struct sched_class fair_sched_class; | 1027 | extern const struct sched_class fair_sched_class; |
1027 | extern const struct sched_class idle_sched_class; | 1028 | extern const struct sched_class idle_sched_class; |
diff --git a/kernel/sched/stop_task.c b/kernel/sched/stop_task.c index 6835d31dd45b..b45e05819151 100644 --- a/kernel/sched/stop_task.c +++ b/kernel/sched/stop_task.c | |||
@@ -111,7 +111,7 @@ get_rr_interval_stop(struct rq *rq, struct task_struct *task) | |||
111 | * Simple, special scheduling class for the per-CPU stop tasks: | 111 | * Simple, special scheduling class for the per-CPU stop tasks: |
112 | */ | 112 | */ |
113 | const struct sched_class stop_sched_class = { | 113 | const struct sched_class stop_sched_class = { |
114 | .next = &rt_sched_class, | 114 | .next = &litmus_sched_class, |
115 | 115 | ||
116 | .enqueue_task = enqueue_task_stop, | 116 | .enqueue_task = enqueue_task_stop, |
117 | .dequeue_task = dequeue_task_stop, | 117 | .dequeue_task = dequeue_task_stop, |