]> granicus.if.org Git - strace/commit
readahead: fix number of syscall arguments
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 7 May 2013 01:25:11 +0000 (01:25 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 7 May 2013 01:56:09 +0000 (01:56 +0000)
commit4996b3a352a5853114e2d0426f3e0fade4e90b3d
treed5c2c7d96a9c2ab4aeab0cd7b4db7d9c996f4f76
parent828bbd846ef26894b5b9f9e25d7cf302e895d2a2
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.
linux/aarch64/syscallent1.h
linux/alpha/syscallent.h
linux/ia64/syscallent.h
linux/or1k/syscallent.h
linux/s390x/syscallent.h
linux/sh/syscallent.h
linux/sh64/syscallent.h
linux/tile/syscallent.h
linux/x32/syscallent.h
linux/x86_64/syscallent.h
linux/xtensa/syscallent.h