From: David Miller Date: Fri, 29 Jun 2007 22:51:17 +0000 (-0700) Subject: ionice: fix ionice build on sparc X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eba338783eaf3211970c60c16e0792a83040974a;p=util-linux ionice: fix ionice build on sparc Provide the proper syscall numbers for this architecture. Signed-off-by: David S. Miller --- diff --git a/schedutils/ionice.c b/schedutils/ionice.c index b3b3383a..fe3b4a9a 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