aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-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 97540f0c9e47..e2698c0fc697 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -704,7 +704,7 @@ static inline int next_prio(struct rq *rq)
704{ 704{
705 struct task_struct *next = pick_next_highest_task_rt(rq, rq->cpu); 705 struct task_struct *next = pick_next_highest_task_rt(rq, rq->cpu);
706 706
707 if (next && rt_prio(next->prio)) 707 if (next)
708 return next->prio; 708 return next->prio;
709 else 709 else
710 return MAX_RT_PRIO; 710 return MAX_RT_PRIO;