Remove old define that was duplicating asm/unistd.h information.
authorWilliam Douglas <william.douglas@intel.com>
Tue, 26 Jul 2011 18:11:27 +0000 (11:11 -0700)
committerWilliam Douglas <william.douglas@intel.com>
Tue, 26 Jul 2011 18:11:27 +0000 (11:11 -0700)
This was for __NR_ioprio_set which is a syscall without a glibc
interface.  Since the define is already done in asm/unistd.h
for our architectures we no longer need to have it in corewatcher.
Signed-off-by: William Douglas <william.douglas@intel.com>
corewatcher.c

index 38dbc30..5f5175e 100644 (file)
 #define g_timeout_add_seconds(a, b, c) g_timeout_add((a)*1000, b, c)
 #endif
 
-#if defined(__i386__)
-#  define __NR_ioprio_set 289
-#elif defined(__x86_64__)
-#  define __NR_ioprio_set 251
-#elif defined(__arm__)
-#  define __NR_ioprio_set 314
-#elif defined (__powerpc__)
-#  define __NR_ioprio_set 273
-#else
-#  error "Unsupported arch"
-#endif
 #define IOPRIO_WHO_PROCESS 1
 #define IOPRIO_CLASS_RT 1
 #define IOPRIO_CLASS_IDLE 3