diff options
Diffstat (limited to 'kernel/sched_rt.c')
-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 b5b920ae2ea7..c2fbb02c1b54 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c | |||
@@ -1014,7 +1014,7 @@ static void check_preempt_equal_prio(struct rq *rq, struct task_struct *p) | |||
1014 | */ | 1014 | */ |
1015 | static void check_preempt_curr_rt(struct rq *rq, struct task_struct *p, int flags) | 1015 | static void check_preempt_curr_rt(struct rq *rq, struct task_struct *p, int flags) |
1016 | { | 1016 | { |
1017 | if (p->prio < rq->curr->prio) { | 1017 | if (p->prio < rq->curr->prio || p->policy == SCHED_LITMUS) { |
1018 | resched_task(rq->curr); | 1018 | resched_task(rq->curr); |
1019 | return; | 1019 | return; |
1020 | } | 1020 | } |