aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index dc91a4d09ac3..269a0450281c 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -123,7 +123,7 @@
123 123
124static inline int rt_policy(int policy) 124static inline int rt_policy(int policy)
125{ 125{
126 if (unlikely(policy == SCHED_FIFO || policy == SCHED_RR)) 126 if (policy == SCHED_FIFO || policy == SCHED_RR)
127 return 1; 127 return 1;
128 return 0; 128 return 0;
129} 129}