ionice: fix ionice build on sparc

Provide the proper syscall numbers for this architecture.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David Miller 2007-06-29 15:51:17 -07:00 committed by Karel Zak
parent 8b3a46d2b0
commit eba338783e
1 changed files with 3 additions and 0 deletions

View 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