]> err.no Git - util-linux/commitdiff
ionice: fix ionice build on sparc
authorDavid Miller <davem@davemloft.net>
Fri, 29 Jun 2007 22:51:17 +0000 (15:51 -0700)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Jul 2007 11:52:41 +0000 (13:52 +0200)
Provide the proper syscall numbers for this architecture.

Signed-off-by: David S. Miller <davem@davemloft.net>
schedutils/ionice.c

index b3b3383a8f1e167a88d86041420e72b7c7d875aa..fe3b4a9a5949fee37858fcc16475c1a842dec421 100644 (file)
@@ -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