diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2013-05-07 01:25:11 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-05-07 01:56:09 +0000 |
commit | 4996b3a352a5853114e2d0426f3e0fade4e90b3d (patch) | |
tree | d5c2c7d96a9c2ab4aeab0cd7b4db7d9c996f4f76 /linux/aarch64 | |
parent | 828bbd846ef26894b5b9f9e25d7cf302e895d2a2 (diff) | |
download | strace-4996b3a352a5853114e2d0426f3e0fade4e90b3d.tar.gz strace-4996b3a352a5853114e2d0426f3e0fade4e90b3d.tar.bz2 strace-4996b3a352a5853114e2d0426f3e0fade4e90b3d.tar.xz |
readahead: fix number of syscall arguments
The number of readahead arguments depends on architecture and
personality. For 64bit and ilp32 it equals to 3, for unaligned 32bit it
equals to 4, and for aligned 32bit it equals to 5.
* linux/aarch64/syscallent1.h: Set number of readahead arguments to 3.
* linux/alpha/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/or1k/syscallent.h: Set number of readahead arguments to 4.
* linux/sh/syscallent.h: Likewise.
* linux/tile/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Set number of readahead arguments to 5.
Diffstat (limited to 'linux/aarch64')
-rw-r--r-- | linux/aarch64/syscallent1.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/aarch64/syscallent1.h b/linux/aarch64/syscallent1.h index 39774d5..a8d3a43 100644 --- a/linux/aarch64/syscallent1.h +++ b/linux/aarch64/syscallent1.h @@ -211,7 +211,7 @@ { 2, TN, sys_shutdown, "shutdown" }, /* 210 */ { 3, TN, sys_sendmsg, "sendmsg" }, /* 211 */ { 3, TN, sys_recvmsg, "recvmsg" }, /* 212 */ - { 4, TD, sys_readahead, "readahead" }, /* 213 */ + { 3, TD, sys_readahead, "readahead" }, /* 213 */ { 1, TM, sys_brk, "brk" }, /* 214 */ { 2, TM, sys_munmap, "munmap" }, /* 215 */ { 5, TM, sys_mremap, "mremap" }, /* 216 */ |