mirror of https://gitee.com/openkylin/linux.git
MN10300: Wire up missing system calls
Wire up missing system calls preadv() and pwritev(). Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
3bb4e153a7
commit
76d320a507
|
@ -344,6 +344,8 @@
|
||||||
#define __NR_dup3 331
|
#define __NR_dup3 331
|
||||||
#define __NR_pipe2 332
|
#define __NR_pipe2 332
|
||||||
#define __NR_inotify_init1 333
|
#define __NR_inotify_init1 333
|
||||||
|
#define __NR_preadv 334
|
||||||
|
#define __NR_pwritev 335
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
|
||||||
|
|
|
@ -723,6 +723,8 @@ ENTRY(sys_call_table)
|
||||||
.long sys_dup3
|
.long sys_dup3
|
||||||
.long sys_pipe2
|
.long sys_pipe2
|
||||||
.long sys_inotify_init1
|
.long sys_inotify_init1
|
||||||
|
.long sys_preadv
|
||||||
|
.long sys_pwritev /* 335 */
|
||||||
|
|
||||||
|
|
||||||
nr_syscalls=(.-sys_call_table)/4
|
nr_syscalls=(.-sys_call_table)/4
|
||||||
|
|
Loading…
Reference in New Issue