stop_task.c (38fd2c202a3d82bc12430bce5789fa2c2a406f71) stop_task.c (aab03e05e8f7e26f51dee792beddcb5cca9215a5)
1#include "sched.h"
2
3/*
4 * stop-task scheduling class.
5 *
6 * The stop task is the highest priority task in the system, it preempts
7 * everything and will be preempted by nothing.
8 *

--- 89 unchanged lines hidden (view full) ---

98{
99 return 0;
100}
101
102/*
103 * Simple, special scheduling class for the per-CPU stop tasks:
104 */
105const struct sched_class stop_sched_class = {
1#include "sched.h"
2
3/*
4 * stop-task scheduling class.
5 *
6 * The stop task is the highest priority task in the system, it preempts
7 * everything and will be preempted by nothing.
8 *

--- 89 unchanged lines hidden (view full) ---

98{
99 return 0;
100}
101
102/*
103 * Simple, special scheduling class for the per-CPU stop tasks:
104 */
105const struct sched_class stop_sched_class = {
106 .next = &rt_sched_class,
106 .next = &dl_sched_class,
107
108 .enqueue_task = enqueue_task_stop,
109 .dequeue_task = dequeue_task_stop,
110 .yield_task = yield_task_stop,
111
112 .check_preempt_curr = check_preempt_curr_stop,
113
114 .pick_next_task = pick_next_task_stop,

--- 14 unchanged lines hidden ---
107
108 .enqueue_task = enqueue_task_stop,
109 .dequeue_task = dequeue_task_stop,
110 .yield_task = yield_task_stop,
111
112 .check_preempt_curr = check_preempt_curr_stop,
113
114 .pick_next_task = pick_next_task_stop,

--- 14 unchanged lines hidden ---