浏览代码

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.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Mikael Starvik <mikael.starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Jesper Nilsson 17 年之前
父节点
当前提交
87ffbe679e
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      include/asm-cris/unistd.h

+ 3 - 3
include/asm-cris/unistd.h

@@ -329,12 +329,12 @@
 #define __NR_timerfd_create	322
 #define __NR_timerfd_create	322
 #define __NR_eventfd		323
 #define __NR_eventfd		323
 #define __NR_fallocate		324
 #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__
 #ifdef __KERNEL__
 
 
-#define NR_syscalls 325
+#define NR_syscalls 327
 
 
 #include <asm/arch/unistd.h>
 #include <asm/arch/unistd.h>