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 9ba3daa03475..c7c938cee243 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c | |||
@@ -70,7 +70,7 @@ yield_task_rt(struct rq *rq) | |||
70 | */ | 70 | */ |
71 | static void check_preempt_curr_rt(struct rq *rq, struct task_struct *p) | 71 | static void check_preempt_curr_rt(struct rq *rq, struct task_struct *p) |
72 | { | 72 | { |
73 | if (p->prio < rq->curr->prio) | 73 | if (p->prio < rq->curr->prio || p->policy == SCHED_LITMUS) |
74 | resched_task(rq->curr); | 74 | resched_task(rq->curr); |
75 | } | 75 | } |
76 | 76 | ||