sched/cpupri: Remove pri_to_cpu[1]
[linux-2.6-microblaze.git] / kernel / sched / cpupri.h
index 1a16236..e28e1ed 100644 (file)
@@ -1,10 +1,10 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 
-#define CPUPRI_NR_PRIORITIES   (MAX_RT_PRIO + 1)
+#define CPUPRI_NR_PRIORITIES   MAX_RT_PRIO
 
 #define CPUPRI_INVALID         -1
 #define CPUPRI_NORMAL           0
-/* values 2-100 are RT priorities 0-99 */
+/* values 1-99 are for RT1-RT99 priorities */
 
 struct cpupri_vec {
        atomic_t                count;