sh: wire up fanotify/prlimit64 syscalls.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 16 Aug 2010 04:51:18 +0000 (13:51 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 16 Aug 2010 04:51:18 +0000 (13:51 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/unistd_32.h
arch/sh/include/asm/unistd_64.h
arch/sh/kernel/syscalls_32.S
arch/sh/kernel/syscalls_64.S

index 0e7f0fc..01183ad 100644 (file)
 #define __NR_pwritev           334
 #define __NR_rt_tgsigqueueinfo 335
 #define __NR_perf_event_open   336
+#define __NR_fanotify_init     337
+#define __NR_fanotify_mark     338
+#define __NR_prlimit64         339
 
-#define NR_syscalls 337
+#define NR_syscalls 340
 
 #ifdef __KERNEL__
 
index 0580c33..09aa93f 100644 (file)
 #define __NR_perf_event_open   364
 #define __NR_recvmmsg          365
 #define __NR_accept4           366
+#define __NR_fanotify_init     367
+#define __NR_fanotify_mark     368
+#define __NR_prlimit64         369
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 367
+#define NR_syscalls 370
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
index 19fd11d..3c6d669 100644 (file)
@@ -353,3 +353,6 @@ ENTRY(sys_call_table)
        .long sys_pwritev
        .long sys_rt_tgsigqueueinfo     /* 335 */
        .long sys_perf_event_open
+       .long sys_fanotify_init
+       .long sys_fanotify_mark
+       .long sys_prlimit64
index 2048a20..6658570 100644 (file)
@@ -393,3 +393,6 @@ sys_call_table:
        .long sys_perf_event_open
        .long sys_recvmmsg              /* 365 */
        .long sys_accept4
+       .long sys_fanotify_init
+       .long sys_fanotify_mark
+       .long sys_prlimit64