diff options
Diffstat (limited to 'kernel/sched/deadline.c')
-rw-r--r-- | kernel/sched/deadline.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index fcb7f0217ff4..1ce8867283dc 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c | |||
@@ -658,8 +658,11 @@ static enum hrtimer_restart dl_task_timer(struct hrtimer *timer) | |||
658 | * | 658 | * |
659 | * XXX figure out if select_task_rq_dl() deals with offline cpus. | 659 | * XXX figure out if select_task_rq_dl() deals with offline cpus. |
660 | */ | 660 | */ |
661 | if (unlikely(!rq->online)) | 661 | if (unlikely(!rq->online)) { |
662 | lockdep_unpin_lock(&rq->lock, rf.cookie); | ||
662 | rq = dl_task_offline_migration(rq, p); | 663 | rq = dl_task_offline_migration(rq, p); |
664 | rf.cookie = lockdep_pin_lock(&rq->lock); | ||
665 | } | ||
663 | 666 | ||
664 | /* | 667 | /* |
665 | * Queueing this task back might have overloaded rq, check if we need | 668 | * Queueing this task back might have overloaded rq, check if we need |