diff options
Diffstat (limited to 'litmus/sched_litmus.c')
-rw-r--r-- | litmus/sched_litmus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/litmus/sched_litmus.c b/litmus/sched_litmus.c index 3de3c8605aae..6553948407de 100644 --- a/litmus/sched_litmus.c +++ b/litmus/sched_litmus.c | |||
@@ -160,7 +160,7 @@ static void enqueue_task_litmus(struct rq *rq, struct task_struct *p, | |||
160 | int flags) | 160 | int flags) |
161 | { | 161 | { |
162 | if (flags & ENQUEUE_WAKEUP) { | 162 | if (flags & ENQUEUE_WAKEUP) { |
163 | sched_trace_task_resume(p, 0); | 163 | sched_trace_task_resume(p); |
164 | tsk_rt(p)->present = 1; | 164 | tsk_rt(p)->present = 1; |
165 | /* LITMUS^RT plugins need to update the state | 165 | /* LITMUS^RT plugins need to update the state |
166 | * _before_ making it available in global structures. | 166 | * _before_ making it available in global structures. |
@@ -185,7 +185,7 @@ static void dequeue_task_litmus(struct rq *rq, struct task_struct *p, | |||
185 | if (flags & DEQUEUE_SLEEP) { | 185 | if (flags & DEQUEUE_SLEEP) { |
186 | litmus->task_block(p); | 186 | litmus->task_block(p); |
187 | tsk_rt(p)->present = 0; | 187 | tsk_rt(p)->present = 0; |
188 | sched_trace_task_block(p, 0); | 188 | sched_trace_task_block(p); |
189 | 189 | ||
190 | rq->litmus.nr_running--; | 190 | rq->litmus.nr_running--; |
191 | } else | 191 | } else |