From eba338783eaf3211970c60c16e0792a83040974a Mon Sep 17 00:00:00 2001 From: David Miller Date: Fri, 29 Jun 2007 15:51:17 -0700 Subject: [PATCH] ionice: fix ionice build on sparc Provide the proper syscall numbers for this architecture. Signed-off-by: David S. Miller --- schedutils/ionice.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5