[IONICE]: Fix build on Sparc.

Provide the proper syscall numbers for this architecture.

Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

diff --git a/schedutils/ionice.c b/schedutils/ionice.c
index b3b3383..fe3b4a9 100644
--- a/schedutils/ionice.c
+++ b/schedutils/ionice.c
@@ -33,6 +33,9 @@
 #elif defined(__s390x__) || defined(__s390__)
 #define __NR_ioprio_set                282
 #define __NR_ioprio_get                283
+#elif defined(__sparc__)
+#define __NR_ioprio_set                196
+#define __NR_ioprio_get                218
 #else
 #error "Unsupported arch"
 #endif
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to