sh: wire up sys_preadv/sys_pwritev() syscalls.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
9bb019f4c2
commit
090fed50ca
|
@ -341,8 +341,10 @@
|
||||||
#define __NR_dup3 330
|
#define __NR_dup3 330
|
||||||
#define __NR_pipe2 331
|
#define __NR_pipe2 331
|
||||||
#define __NR_inotify_init1 332
|
#define __NR_inotify_init1 332
|
||||||
|
#define __NR_preadv 333
|
||||||
|
#define __NR_pwritev 334
|
||||||
|
|
||||||
#define NR_syscalls 333
|
#define NR_syscalls 335
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
|
||||||
|
|
|
@ -381,10 +381,12 @@
|
||||||
#define __NR_dup3 358
|
#define __NR_dup3 358
|
||||||
#define __NR_pipe2 359
|
#define __NR_pipe2 359
|
||||||
#define __NR_inotify_init1 360
|
#define __NR_inotify_init1 360
|
||||||
|
#define __NR_preadv 361
|
||||||
|
#define __NR_pwritev 362
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
|
||||||
#define NR_syscalls 361
|
#define NR_syscalls 363
|
||||||
|
|
||||||
#define __ARCH_WANT_IPC_PARSE_VERSION
|
#define __ARCH_WANT_IPC_PARSE_VERSION
|
||||||
#define __ARCH_WANT_OLD_READDIR
|
#define __ARCH_WANT_OLD_READDIR
|
||||||
|
|
|
@ -349,3 +349,5 @@ ENTRY(sys_call_table)
|
||||||
.long sys_dup3 /* 330 */
|
.long sys_dup3 /* 330 */
|
||||||
.long sys_pipe2
|
.long sys_pipe2
|
||||||
.long sys_inotify_init1
|
.long sys_inotify_init1
|
||||||
|
.long sys_preadv
|
||||||
|
.long sys_writev
|
||||||
|
|
|
@ -387,3 +387,5 @@ sys_call_table:
|
||||||
.long sys_dup3
|
.long sys_dup3
|
||||||
.long sys_pipe2
|
.long sys_pipe2
|
||||||
.long sys_inotify_init1 /* 360 */
|
.long sys_inotify_init1 /* 360 */
|
||||||
|
.long sys_preadv
|
||||||
|
.long sys_pwritev
|
||||||
|
|
Loading…
Reference in a new issue