summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/cpupri.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/sched/cpupri.c b/kernel/sched/cpupri.c
index d583f2aa744e..c582956ee634 100644
--- a/kernel/sched/cpupri.c
+++ b/kernel/sched/cpupri.c
@@ -60,6 +60,9 @@ static int convert_prio(int prio)
case MAX_RT_PRIO:
cpupri = CPUPRI_HIGHER; /* 100 */
break;
+ default:
+ cpupri = CPUPRI_NORMAL;
+ break;
}
return cpupri;