aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/sched.h1
-rw-r--r--kernel/sched/stop_task.c2
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
1024extern const struct sched_class stop_sched_class; 1024extern const struct sched_class stop_sched_class;
1025extern const struct sched_class litmus_sched_class;
1025extern const struct sched_class rt_sched_class; 1026extern const struct sched_class rt_sched_class;
1026extern const struct sched_class fair_sched_class; 1027extern const struct sched_class fair_sched_class;
1027extern const struct sched_class idle_sched_class; 1028extern 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 */
113const struct sched_class stop_sched_class = { 113const 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,