From 4996b3a352a5853114e2d0426f3e0fade4e90b3d Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 7 May 2013 01:25:11 +0000 Subject: 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/aarch64') 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 */ -- cgit v1.2.3