diff options
Diffstat (limited to 'kernel/sched/deadline.c')
-rw-r--r-- | kernel/sched/deadline.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index aaa5abbff2f1..efb94124420d 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c | |||
@@ -1565,6 +1565,8 @@ static void switched_from_dl(struct rq *rq, struct task_struct *p) | |||
1565 | if (hrtimer_active(&p->dl.dl_timer) && !dl_policy(p->policy)) | 1565 | if (hrtimer_active(&p->dl.dl_timer) && !dl_policy(p->policy)) |
1566 | hrtimer_try_to_cancel(&p->dl.dl_timer); | 1566 | hrtimer_try_to_cancel(&p->dl.dl_timer); |
1567 | 1567 | ||
1568 | __dl_clear_params(p); | ||
1569 | |||
1568 | #ifdef CONFIG_SMP | 1570 | #ifdef CONFIG_SMP |
1569 | /* | 1571 | /* |
1570 | * Since this might be the only -deadline task on the rq, | 1572 | * Since this might be the only -deadline task on the rq, |