aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/rt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 01970c8e64df..ceebfba0a1dd 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -1213,8 +1213,7 @@ select_task_rq_rt(struct task_struct *p, int sd_flag, int flags)
1213 */ 1213 */
1214 if (curr && unlikely(rt_task(curr)) && 1214 if (curr && unlikely(rt_task(curr)) &&
1215 (curr->nr_cpus_allowed < 2 || 1215 (curr->nr_cpus_allowed < 2 ||
1216 curr->prio <= p->prio) && 1216 curr->prio <= p->prio)) {
1217 (p->nr_cpus_allowed > 1)) {
1218 int target = find_lowest_rq(p); 1217 int target = find_lowest_rq(p);
1219 1218
1220 if (target != -1) 1219 if (target != -1)