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.
This commit is contained in:
2013-05-07 01:25:11 +00:00
parent 828bbd846e
commit 4996b3a352
11 changed files with 11 additions and 11 deletions

View File

@ -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 */

View File

@ -405,7 +405,7 @@
{ 3, 0, printargs, "pciconfig_iobase" }, /* 376 */
{ 3, TD, sys_getdents64, "getdents64" }, /* 377 */
{ 0, 0, sys_gettid, "gettid" }, /* 378 */
{ 4, TD, sys_readahead, "readahead" }, /* 379 */
{ 3, TD, sys_readahead, "readahead" }, /* 379 */
{ 5, 0, NULL, NULL }, /* 380 */
{ 2, TS, sys_kill, "tkill" }, /* 381 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 382 */

View File

@ -1007,7 +1007,7 @@
{ 6, TP, sys_clone, "clone2" }, /* 1213 */
{ 3, TD, sys_getdents64, "getdents64" }, /* 1214 */
{ 2, 0, printargs, "getunwind" }, /* 1215 */
{ 4, TD, sys_readahead, "readahead" }, /* 1216 */
{ 3, TD, sys_readahead, "readahead" }, /* 1216 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 1217 */
{ 5, TF, sys_setxattr, "lsetxattr" }, /* 1218 */
{ 5, TD, sys_fsetxattr, "fsetxattr" }, /* 1219 */

View File

@ -211,7 +211,7 @@
{ 2, TN, sys_shutdown, "shutdown" }, /* 210 */
{ 3, TN, sys_sendmsg, "sendmsg" }, /* 211 */
{ 3, TN, sys_recvmsg, "recvmsg" }, /* 212 */
{ 5, TD, sys_readahead, "readahead" }, /* 213 */
{ 4, TD, sys_readahead, "readahead" }, /* 213 */
{ 1, TM, sys_brk, "brk" }, /* 214 */
{ 2, TM, sys_munmap, "munmap" }, /* 215 */
{ 5, TM, sys_mremap, "mremap" }, /* 216 */

View File

@ -249,7 +249,7 @@
{ 3, TM, sys_madvise, "madvise" }, /* 219 */
{ 3, TD, sys_getdents64, "getdents64" }, /* 220 */
{ MA, 0, NULL, NULL }, /* 221 */
{ 4, TD, sys_readahead, "readahead" }, /* 222 */
{ 3, TD, sys_readahead, "readahead" }, /* 222 */
{ 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 223 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 224 */
{ 5, TF, sys_setxattr, "lsetxattr" }, /* 225 */

View File

@ -255,7 +255,7 @@
{ 4, 0, NULL, NULL }, /* 222 */
{ 4, 0, NULL, NULL }, /* 223 */
{ 4, 0, sys_gettid, "gettid" }, /* 224 */
{ 5, TD, sys_readahead, "readahead" }, /* 225 */
{ 4, TD, sys_readahead, "readahead" }, /* 225 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 226 */
{ 5, TF, sys_setxattr, "lsetxattr" }, /* 227 */
{ 5, TD, sys_fsetxattr, "fsetxattr" }, /* 228 */

View File

@ -279,7 +279,7 @@
{ 4, 0, NULL, NULL }, /* 250 */
{ 4, 0, NULL, NULL }, /* 251 */
{ 4, 0, sys_gettid, "gettid" }, /* 252 */
{ 5, TD, sys_readahead, "readahead" }, /* 253 */
{ 3, TD, sys_readahead, "readahead" }, /* 253 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 254 */
{ 5, TF, sys_setxattr, "lsetxattr" }, /* 255 */
{ 5, TD, sys_fsetxattr, "fsetxattr" }, /* 256 */

View File

@ -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 */

View File

@ -185,7 +185,7 @@
{ 3, 0, sys_tuxcall, "tuxcall" }, /* 184 */
{ 3, 0, sys_security, "security" }, /* 185 */
{ 0, 0, sys_gettid, "gettid" }, /* 186 */
{ 4, TD, sys_readahead, "readahead" }, /* 187 */
{ 3, TD, sys_readahead, "readahead" }, /* 187 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 188 */
{ 5, TF, sys_setxattr, "lsetxattr" }, /* 189 */
{ 5, TD, sys_fsetxattr, "fsetxattr" }, /* 190 */

View File

@ -185,7 +185,7 @@
{ 3, 0, sys_tuxcall, "tuxcall" }, /* 184 */
{ 3, 0, sys_security, "security" }, /* 185 */
{ 0, 0, sys_gettid, "gettid" }, /* 186 */
{ 4, TD, sys_readahead, "readahead" }, /* 187 */
{ 3, TD, sys_readahead, "readahead" }, /* 187 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 188 */
{ 5, TF, sys_setxattr, "lsetxattr" }, /* 189 */
{ 5, TD, sys_fsetxattr, "fsetxattr" }, /* 190 */

View File

@ -250,7 +250,7 @@
{ 5, 0, printargs, "request_key" }, /* 257 */
{ 5, 0, printargs, "keyctl" }, /* 258 */
[259] = { },
{ 4, TD, sys_readahead, "readahead" }, /* 260 */
{ 5, TD, sys_readahead, "readahead" }, /* 260 */
{ 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 261 */
{ 5, TM, sys_migrate_pages, "migrate_pages" }, /* 262 */
{ 0, TM, sys_mbind, "mbind" }, /* 263 */