aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/litmus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/sched/litmus.c b/kernel/sched/litmus.c
index fdb17e958adb..979f0a946220 100644
--- a/kernel/sched/litmus.c
+++ b/kernel/sched/litmus.c
@@ -218,6 +218,9 @@ static void dequeue_task_litmus(struct rq *rq, struct task_struct *p,
218 int flags) 218 int flags)
219{ 219{
220 if (flags & DEQUEUE_SLEEP) { 220 if (flags & DEQUEUE_SLEEP) {
221#ifdef CONFIG_SCHED_TASK_TRACE
222 tsk_rt(p)->job_params.last_suspension = litmus_clock();
223#endif
221 litmus->task_block(p); 224 litmus->task_block(p);
222 tsk_rt(p)->present = 0; 225 tsk_rt(p)->present = 0;
223 sched_trace_task_block(p); 226 sched_trace_task_block(p);