[ARM] 5456/1: add sys_preadv and sys_pwritev
authorMikael Pettersson <mikpe@it.uu.se>
Sat, 18 Apr 2009 20:26:57 +0000 (21:26 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 20 Apr 2009 13:01:39 +0000 (14:01 +0100)
commiteb8f3142fa30201426feb7b3f9046fcd730e17d3
tree7cf595a77fe8ad9ea9550d3415f2937e78ade61b
parentd91dfbb41bb2e9bdbfbd2cc7078ed7436eab027a
[ARM] 5456/1: add sys_preadv and sys_pwritev

Kernel 2.6.30-rc1 added sys_preadv and sys_pwritev to most archs
but not ARM, resulting in

<stdin>:1421:2: warning: #warning syscall preadv not implemented
<stdin>:1425:2: warning: #warning syscall pwritev not implemented

This patch adds sys_preadv and sys_pwritev to ARM.

These syscalls simply take five long-sized parameters, so they
should have no calling-convention/ABI issues in the kernel.

Tested on armv5tel eabi using a preadv/pwritev test program posted
on linuxppc-dev earlier this month.

It would be nice to get this into the kernel before 2.6.30 final,
so that glibc's kernel version feature test for these syscalls
doesn't have to special-case ARM.

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/unistd.h
arch/arm/kernel/calls.S