]> err.no Git - util-linux/commitdiff
let syscall.h define ioprio_{set,get}
authorLaMont Jones <lamont@mix.mmjgroup.com>
Wed, 11 Jul 2007 18:26:30 +0000 (12:26 -0600)
committerLaMont Jones <lamont@mix.mmjgroup.com>
Wed, 11 Jul 2007 18:26:30 +0000 (12:26 -0600)
schedutils/ionice.c

index fe3b4a9a5949fee37858fcc16475c1a842dec421..4f30c1def3059a3eddd2951e196ee220833d75a5 100644 (file)
@@ -15,6 +15,7 @@
 #include <sys/syscall.h>
 #include <asm/unistd.h>
 
+#if 0
 #if defined(__i386__)
 #define __NR_ioprio_set                289
 #define __NR_ioprio_get                290
@@ -39,6 +40,7 @@
 #else
 #error "Unsupported arch"
 #endif
+#endif
 
 static inline int ioprio_set(int which, int who, int ioprio)
 {