From ea5a07968439a79a770fb35071ba555c2c3c54b5 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 7 May 2013 09:21:07 +0000 Subject: preadv, pwritev: fix number of syscall arguments The number of preadv and pwritev arguments depends on architecture and personality. For 64bit and ilp32 it equals to 4, for unaligned 32bit it equals to 5, and for aligned 32bit it equals to 6. * linux/aarch64/syscallent1.h: Change the number of preadv and pwritev arguments to 4. * linux/alpha/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/tile/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Change the number of preadv and pwritev arguments to 6. * linux/sh/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Likewise. --- linux/aarch64/syscallent1.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/aarch64') diff --git a/linux/aarch64/syscallent1.h b/linux/aarch64/syscallent1.h index 461609c..58edc5e 100644 --- a/linux/aarch64/syscallent1.h +++ b/linux/aarch64/syscallent1.h @@ -67,8 +67,8 @@ { 3, TD, sys_writev, "writev" }, /* 66 */ { 5, TD, sys_pread, "pread64" }, /* 67 */ { 5, TD, sys_pwrite, "pwrite64" }, /* 68 */ - { 5, TD, sys_preadv, "preadv" }, /* 69 */ - { 5, TD, sys_pwritev, "pwritev" }, /* 70 */ + { 4, TD, sys_preadv, "preadv" }, /* 69 */ + { 4, TD, sys_pwritev, "pwritev" }, /* 70 */ { 4, TD|TN, sys_sendfile64, "sendfile" }, /* 71 */ { 6, TD, sys_pselect6, "pselect6" }, /* 72 */ { 5, TD, sys_ppoll, "ppoll" }, /* 73 */ -- cgit v1.2.3