diff options
-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 bea7d79f7e9c..1ab66a227b51 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c | |||
@@ -1474,7 +1474,7 @@ skip: | |||
1474 | static void pre_schedule_rt(struct rq *rq, struct task_struct *prev) | 1474 | static void pre_schedule_rt(struct rq *rq, struct task_struct *prev) |
1475 | { | 1475 | { |
1476 | /* Try to pull RT tasks here if we lower this rq's prio */ | 1476 | /* Try to pull RT tasks here if we lower this rq's prio */ |
1477 | if (unlikely(rt_task(prev)) && rq->rt.highest_prio.curr > prev->prio) | 1477 | if (rq->rt.highest_prio.curr > prev->prio) |
1478 | pull_rt_task(rq); | 1478 | pull_rt_task(rq); |
1479 | } | 1479 | } |
1480 | 1480 | ||