preadv/pwritev: MIPS: Add preadv(2) and pwritev(2) syscalls.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: <linux-api@vger.kernel.org> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
f3554f4bc6
commit
ddd9e91b71
@@ -650,6 +650,8 @@ einval: li v0, -ENOSYS
|
||||
sys sys_dup3 3
|
||||
sys sys_pipe2 2
|
||||
sys sys_inotify_init1 1
|
||||
sys sys_preadv 6 /* 4330 */
|
||||
sys sys_pwritev 6
|
||||
.endm
|
||||
|
||||
/* We pre-compute the number of _instruction_ bytes needed to
|
||||
|
@@ -487,4 +487,6 @@ sys_call_table:
|
||||
PTR sys_dup3
|
||||
PTR sys_pipe2
|
||||
PTR sys_inotify_init1
|
||||
PTR sys_preadv
|
||||
PTR sys_pwritev /* 5390 */
|
||||
.size sys_call_table,.-sys_call_table
|
||||
|
@@ -413,4 +413,6 @@ EXPORT(sysn32_call_table)
|
||||
PTR sys_dup3 /* 5290 */
|
||||
PTR sys_pipe2
|
||||
PTR sys_inotify_init1
|
||||
PTR sys_preadv
|
||||
PTR sys_pwritev
|
||||
.size sysn32_call_table,.-sysn32_call_table
|
||||
|
@@ -533,4 +533,6 @@ sys_call_table:
|
||||
PTR sys_dup3
|
||||
PTR sys_pipe2
|
||||
PTR sys_inotify_init1
|
||||
PTR compat_sys_preadv /* 4330 */
|
||||
PTR compat_sys_pwritev
|
||||
.size sys_call_table,.-sys_call_table
|
||||
|
Reference in New Issue
Block a user