sh: Wire up new syscalls.

The syscall table has lagged behind a bit, wire up the new ones..

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt 2006-09-27 14:36:44 +09:00
parent ef9a1d4c0c
commit 75c92acdd5
2 changed files with 52 additions and 2 deletions

View 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 */

View File

@ -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__