diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-10-06 15:42:57 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-03-08 10:12:44 -0500 |
commit | 5864d409a8e756d191b048b66b63ddb98a575452 (patch) | |
tree | e012a6f1a84cfb9c880e7eb78c37264037699631 | |
parent | 7ee71634b43927aa388f7849947afba0b9b15b14 (diff) |
LITMUS^RT scheduling class: mark enqueued task as present
-rw-r--r-- | kernel/sched/litmus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/litmus.c b/kernel/sched/litmus.c index 9d58690cf51a..2cdba907f0a8 100644 --- a/kernel/sched/litmus.c +++ b/kernel/sched/litmus.c | |||
@@ -164,9 +164,9 @@ litmus_schedule(struct rq *rq, struct task_struct *prev) | |||
164 | static void enqueue_task_litmus(struct rq *rq, struct task_struct *p, | 164 | static void enqueue_task_litmus(struct rq *rq, struct task_struct *p, |
165 | int flags) | 165 | int flags) |
166 | { | 166 | { |
167 | tsk_rt(p)->present = 1; | ||
167 | if (flags & ENQUEUE_WAKEUP) { | 168 | if (flags & ENQUEUE_WAKEUP) { |
168 | sched_trace_task_resume(p); | 169 | sched_trace_task_resume(p); |
169 | tsk_rt(p)->present = 1; | ||
170 | /* LITMUS^RT plugins need to update the state | 170 | /* LITMUS^RT plugins need to update the state |
171 | * _before_ making it available in global structures. | 171 | * _before_ making it available in global structures. |
172 | * Linux gets away with being lazy about the task state | 172 | * Linux gets away with being lazy about the task state |