block: Introduce IOPRIO_NR_LEVELS
[linux-2.6-microblaze.git] / include / uapi / linux / ioprio.h
index 936f0d8..aac3933 100644 (file)
@@ -32,9 +32,10 @@ enum {
 };
 
 /*
- * 8 best effort priority levels are supported
+ * The RT and BE priority classes both support up to 8 priority levels.
  */
-#define IOPRIO_BE_NR   (8)
+#define IOPRIO_NR_LEVELS       8
+#define IOPRIO_BE_NR           IOPRIO_NR_LEVELS
 
 enum {
        IOPRIO_WHO_PROCESS = 1,