projects
/
external
/
corewatcher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a1f07f
)
Remove old define that was duplicating asm/unistd.h information.
author
William Douglas
<william.douglas@intel.com>
Tue, 26 Jul 2011 18:11:27 +0000
(11:11 -0700)
committer
William 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
patch
|
blob
|
history
diff --git
a/corewatcher.c
b/corewatcher.c
index
38dbc30
..
5f5175e
100644
(file)
--- a/
corewatcher.c
+++ b/
corewatcher.c
@@
-50,17
+50,6
@@
#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