diff options
Diffstat (limited to 'kernel/sched/rt.c')
-rw-r--r-- | kernel/sched/rt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index 1c4065575fa2..a2740b775b45 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c | |||
@@ -1738,7 +1738,7 @@ static void task_woken_rt(struct rq *rq, struct task_struct *p) | |||
1738 | !test_tsk_need_resched(rq->curr) && | 1738 | !test_tsk_need_resched(rq->curr) && |
1739 | has_pushable_tasks(rq) && | 1739 | has_pushable_tasks(rq) && |
1740 | p->nr_cpus_allowed > 1 && | 1740 | p->nr_cpus_allowed > 1 && |
1741 | rt_task(rq->curr) && | 1741 | (dl_task(rq->curr) || rt_task(rq->curr)) && |
1742 | (rq->curr->nr_cpus_allowed < 2 || | 1742 | (rq->curr->nr_cpus_allowed < 2 || |
1743 | rq->curr->prio <= p->prio)) | 1743 | rq->curr->prio <= p->prio)) |
1744 | push_rt_tasks(rq); | 1744 | push_rt_tasks(rq); |