sh: Wire up new syscalls.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 05:36:44 +0000 (14:36 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 05:36:44 +0000 (14:36 +0900)
The syscall table has lagged behind a bit, wire up the new ones..

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/syscalls.S
include/asm-sh/unistd.h

index f500304..ada61b0 100644 (file)
@@ -322,3 +322,31 @@ ENTRY(sys_call_table)
        .long sys_add_key               /* 285 */
        .long sys_request_key
        .long sys_keyctl
+       .long sys_ioprio_set
+       .long sys_ioprio_get
+       .long sys_inotify_init          /* 290 */
+       .long sys_inotify_add_watch
+       .long sys_inotify_rm_watch
+       .long sys_migrate_pages
+       .long sys_openat
+       .long sys_mkdirat               /* 295 */
+       .long sys_mknodat
+       .long sys_fchownat
+       .long sys_futimesat
+       .long sys_fstatat64
+       .long sys_unlinkat              /* 300 */
+       .long sys_renameat
+       .long sys_linkat
+       .long sys_symlinkat
+       .long sys_readlinkat
+       .long sys_fchmodat              /* 305 */
+       .long sys_faccessat
+       .long sys_ni_syscall            /* Reserved for pselect6 */
+       .long sys_ni_syscall            /* Reserved for ppoll */
+       .long sys_unshare
+       .long sys_set_robust_list       /* 310 */
+       .long sys_get_robust_list
+       .long sys_splice
+       .long sys_sync_file_range
+       .long sys_tee
+       .long sys_vmsplice              /* 315 */
index 76b5430..49c6a6e 100644 (file)
 #define __NR_inotify_init      290
 #define __NR_inotify_add_watch 291
 #define __NR_inotify_rm_watch  292
+#define __NR_migrate_pages     293
+#define __NR_openat            294
+#define __NR_mkdirat           295
+#define __NR_mknodat           296
+#define __NR_fchownat          297
+#define __NR_futimesat         298
+#define __NR_fstatat64         299
+#define __NR_unlinkat          300
+#define __NR_renameat          301
+#define __NR_linkat            302
+#define __NR_symlinkat         303
+#define __NR_readlinkat                304
+#define __NR_fchmodat          305
+#define __NR_faccessat         305
+#define __NR_pselect6          307
+#define __NR_ppoll             308
+#define __NR_unshare           309
+#define __NR_set_robust_list   310
+#define __NR_get_robust_list   311
+#define __NR_splice            312
+#define __NR_sync_file_range   313
+#define __NR_tee               314
+#define __NR_vmsplice          315
 
-
-#define NR_syscalls 293
+#define NR_syscalls 316
 
 #ifdef __KERNEL__