summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/scall32-o32.S
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-04-02 16:59:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-02 19:05:08 -0700
commitddd9e91b71072b8ebe89311c3a44b077defa1756 (patch)
tree9795e75bee284c1f2d55314c942bb8a1553e6b14 /arch/mips/kernel/scall32-o32.S
parentf3554f4bc69803ac2baaf7cf2aa4339e1f4b693e (diff)
downloadlinux-ddd9e91b71072b8ebe89311c3a44b077defa1756.tar.gz
linux-ddd9e91b71072b8ebe89311c3a44b077defa1756.tar.bz2
linux-ddd9e91b71072b8ebe89311c3a44b077defa1756.zip
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>
Diffstat (limited to 'arch/mips/kernel/scall32-o32.S')
-rw-r--r--arch/mips/kernel/scall32-o32.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
index 9ab70c3b5be6..0b31b9bda048 100644
--- a/arch/mips/kernel/scall32-o32.S
+++ b/arch/mips/kernel/scall32-o32.S
@@ -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