sh: Wire up new timerfd syscalls.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 7 Feb 2008 04:05:13 +0000 (13:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 14 Feb 2008 05:22:08 +0000 (14:22 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/syscalls_32.S
arch/sh/kernel/syscalls_64.S
include/asm-sh/unistd_32.h
include/asm-sh/unistd_64.h

index 719e127a7c05921be389465d2630c6821700603d..a46cc3a411485d4b71320015c5d1bb47ece080c1 100644 (file)
@@ -338,6 +338,8 @@ ENTRY(sys_call_table)
        .long sys_epoll_pwait
        .long sys_utimensat             /* 320 */
        .long sys_signalfd
-       .long sys_ni_syscall
+       .long sys_timerfd_create
        .long sys_eventfd
        .long sys_fallocate
+       .long sys_timerfd_settime       /* 325 */
+       .long sys_timerfd_gettime
index 12c7340356ae4bb78819e83cf8fa11fef0939217..d5d7843aad94c1c8ff79da288a16e422a7a9ad1b 100644 (file)
@@ -376,6 +376,8 @@ sys_call_table:
        .long sys_epoll_pwait
        .long sys_utimensat
        .long sys_signalfd
-       .long sys_ni_syscall            /* 350 */
+       .long sys_timerfd_create        /* 350 */
        .long sys_eventfd
        .long sys_fallocate
+       .long sys_timerfd_settime
+       .long sys_timerfd_gettime
index 433fd1b48fa2663a93ee3942333281e61532a713..0b07212ec659f9839baad36c4a31c207584dcc21 100644 (file)
 #define __NR_epoll_pwait       319
 #define __NR_utimensat         320
 #define __NR_signalfd          321
-/* #define __NR_timerfd                322 removed */
+#define __NR_timerfd_create    322
 #define __NR_eventfd           323
 #define __NR_fallocate         324
+#define __NR_timerfd_settime   325
+#define __NR_timerfd_gettime   326
 
-#define NR_syscalls 325
+#define NR_syscalls 327
 
 #ifdef __KERNEL__
 
index 108d2ba897fe8e8ac4321475b7f23fc92d03aa65..9d21eab52427e260159f46c44094a91c1c27f328 100644 (file)
@@ -90,7 +90,7 @@
 #define __NR_sigpending                 73
 #define __NR_sethostname        74
 #define __NR_setrlimit          75
-#define __NR_getrlimit          76     /* Back compatible 2Gig limited rlimit */
+#define __NR_getrlimit          76     /* Back compatible 2Gig limited rlimit */
 #define __NR_getrusage          77
 #define __NR_gettimeofday       78
 #define __NR_settimeofday       79
 #define __NR_epoll_pwait       347
 #define __NR_utimensat         348
 #define __NR_signalfd          349
-/* #define __NR_timerfd                350 removed */
+#define __NR_timerfd_create    350
 #define __NR_eventfd           351
 #define __NR_fallocate         352
+#define __NR_timerfd_settime   353
+#define __NR_timerfd_gettime   354
 
 #ifdef __KERNEL__