aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--arch/sh/kernel/syscalls.S28
-rw-r--r--include/asm-sh/unistd.h26
2 files changed, 52 insertions, 2 deletions
diff --git a/arch/sh/kernel/syscalls.S b/arch/sh/kernel/syscalls.S
index f500304cbd69..ada61b0d9a73 100644
--- a/arch/sh/kernel/syscalls.S
+++ b/arch/sh/kernel/syscalls.S
@@ -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 */
diff --git a/include/asm-sh/unistd.h b/include/asm-sh/unistd.h
index 76b5430cb458..49c6a6ee0ab2 100644
--- a/include/asm-sh/unistd.h
+++ b/include/asm-sh/unistd.h
@@ -300,9 +300,31 @@
#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__