diff options
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 37087a7fac22..ef43ff95999d 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -1598,7 +1598,7 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_ | |||
1598 | 1598 | ||
1599 | update_curr(cfs_rq); | 1599 | update_curr(cfs_rq); |
1600 | 1600 | ||
1601 | if (unlikely(rt_prio(p->prio))) { | 1601 | if (unlikely(rt_prio(p->prio)) || p->policy == SCHED_LITMUS) { |
1602 | resched_task(curr); | 1602 | resched_task(curr); |
1603 | return; | 1603 | return; |
1604 | } | 1604 | } |