Skip to contentSkip to conversation

CRIS: Correct syscall numbers in unistd.h for timerfd_settime and timerfd_gettime

PATCH New Jesper Nilsson 1 participant 1 message Feb 27, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CRIS: Correct syscall numbers in unistd.h for timerfd_settime and timerfd_gettime

Last commit for unistd was not correct, it only had a partial update of syscall numbers for __NR_timerfd_settime and __NR_timerfd_gettime. Also, NR_syscalls was not incremented for the new syscalls.

---
 include/asm-cris/unistd.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
include/asm-cris/unistd.h +3 -3
index 007cb16..76398ef 100644
@@ -329,12 +329,12 @@
 #define __NR_timerfd_create	322
 #define __NR_eventfd		323
 #define __NR_fallocate		324
-#define __NR_timerfd_settime    315
-#define __NR_timerfd_gettime    316
+#define __NR_timerfd_settime	325
+#define __NR_timerfd_gettime	326
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 325
+#define NR_syscalls 327
 
 #include <asm/arch/unistd.h>
 
Signature · 6 lines
1.5.3.6.970.gd25430


/^JN - Jesper Nilsson
--
               Jesper Nilsson -- [email protected]