MIPS: N32: Fix preadv(2) and pwritev(2) entry points.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 4 Dec 2012 16:40:44 +0000 (17:40 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 4 Dec 2012 16:59:39 +0000 (17:59 +0100)
commitd5563715a30706b54ad9ec978b30b81d3fb320f3
tree48bb621c037a9c9564fbf613007ff2a9fe5c62e6
parentac53c4fca42c394d8a06c7a470ae2d1d50503717
MIPS: N32: Fix preadv(2) and pwritev(2) entry points.

By using the native syscall entry point the kernel was also expecting
64-bit iovec structures.

This is broken since ddd9e91b71072b8ebe89311c3a44b077defa1756 [preadv/
pwritev: MIPS: Add preadv(2) and pwritev(2) syscalls.] which originally
added these two syscalls.  I walked through piles of code, including
libc and couldn't find anything that would have worked around the issue
so this change the API to what it should always have been.

Noticed and patch suggested by Al Viro.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/scall64-n32.S