aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/deadline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index 8867a67b8f0a..e7779b3feec4 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -1506,7 +1506,7 @@ static void task_woken_dl(struct rq *rq, struct task_struct *p)
1506 p->nr_cpus_allowed > 1 && 1506 p->nr_cpus_allowed > 1 &&
1507 dl_task(rq->curr) && 1507 dl_task(rq->curr) &&
1508 (rq->curr->nr_cpus_allowed < 2 || 1508 (rq->curr->nr_cpus_allowed < 2 ||
1509 dl_entity_preempt(&rq->curr->dl, &p->dl))) { 1509 !dl_entity_preempt(&p->dl, &rq->curr->dl))) {
1510 push_dl_tasks(rq); 1510 push_dl_tasks(rq);
1511 } 1511 }
1512} 1512}