summaryrefslogtreecommitdiff
path: root/linux/tile
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2013-05-07 09:35:18 +0000
committerDmitry V. Levin <ldv@altlinux.org>2013-05-07 09:43:55 +0000
commit5273cb7d607e89043a80da36cf13580567c0dcd0 (patch)
treef44ec412ebae7e8dce849cfd3c04186b3dc3a8c2 /linux/tile
parentea5a07968439a79a770fb35071ba555c2c3c54b5 (diff)
downloadstrace-5273cb7d607e89043a80da36cf13580567c0dcd0.tar.gz
strace-5273cb7d607e89043a80da36cf13580567c0dcd0.tar.bz2
strace-5273cb7d607e89043a80da36cf13580567c0dcd0.tar.xz
pread, pwrite: fix number of syscall arguments
The number of pread and pwrite 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 pread and pwrite arguments to 4. * linux/alpha/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/or1k/syscallent.h: Change the number of pread and pwrite arguments to 5.
Diffstat (limited to 'linux/tile')
-rw-r--r--linux/tile/syscallent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/tile/syscallent.h b/linux/tile/syscallent.h
index 8ea68fd..5ac87f1 100644
--- a/linux/tile/syscallent.h
+++ b/linux/tile/syscallent.h
@@ -65,8 +65,8 @@
{ 3, TD, sys_write, "write" }, /* 64 */
{ 3, TD, sys_readv, "readv" }, /* 65 */
{ 3, TD, sys_writev, "writev" }, /* 66 */
- { 6, TD, sys_pread, "pread64" }, /* 67 */
- { 6, TD, sys_pwrite, "pwrite64" }, /* 68 */
+ { 4, TD, sys_pread, "pread64" }, /* 67 */
+ { 4, TD, sys_pwrite, "pwrite64" }, /* 68 */
{ 4, TD, sys_preadv, "preadv" }, /* 69 */
{ 4, TD, sys_pwritev, "pwritev" }, /* 70 */
{ 4, TD|TN, sys_sendfile64, "sendfile" }, /* 71 */