MIPS: N32: Fix preadv(2) and pwritev(2) entry points.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

MIPS: N32: Fix preadv(2) and pwritev(2) entry points.

linux-mips main mailing list
Author: Ralf Baechle <[hidden email]> Tue Dec 4 17:40:44 2012 +0100
Commit: 5ed060e76ca0b31c3969b30f793c03ae5e09930d
Gitweb: http://git.linux-mips.org/g/ralf/linux/5ed060e76ca0
Branch: linux-2.6.38-stable

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 <[hidden email]>
(cherry picked from commit effe58da422ef58bec3bca3ad14ba5c1af3a4945)


 arch/mips/kernel/scall64-n32.S |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)