aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched_rt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index d047f288c411..8d33843cb2c4 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -1314,7 +1314,8 @@ static void task_wake_up_rt(struct rq *rq, struct task_struct *p)
1314{ 1314{
1315 if (!task_running(rq, p) && 1315 if (!task_running(rq, p) &&
1316 !test_tsk_need_resched(rq->curr) && 1316 !test_tsk_need_resched(rq->curr) &&
1317 rq->rt.overloaded) 1317 rq->rt.overloaded &&
1318 p->rt.nr_cpus_allowed > 1)
1318 push_rt_tasks(rq); 1319 push_rt_tasks(rq);
1319} 1320}
1320 1321