aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched_rt.c')
-rw-r--r--kernel/sched_rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index d10c80ebb67a..e40e7fe43170 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -1013,7 +1013,7 @@ static void check_preempt_equal_prio(struct rq *rq, struct task_struct *p)
1013 */ 1013 */
1014static void check_preempt_curr_rt(struct rq *rq, struct task_struct *p, int flags) 1014static void check_preempt_curr_rt(struct rq *rq, struct task_struct *p, int flags)
1015{ 1015{
1016 if (p->prio < rq->curr->prio) { 1016 if (p->prio < rq->curr->prio || p->policy == SCHED_LITMUS) {
1017 resched_task(rq->curr); 1017 resched_task(rq->curr);
1018 return; 1018 return;
1019 } 1019 }