From eb1cc1568ccaac829436c70d1627a6b090df37eb Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 7 May 2013 08:18:44 +0000 Subject: fallocate: fix number of syscall arguments The number of fallocate arguments depends on architecture and personality. For 64bit and ilp32 it equals to 4, for 32bit it equals to 6. * linux/aarch64/syscallent1.h: Change the number of fallocate 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/microblaze/syscallent.h: Set fallocate handler and flags. --- 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 a8d3a43..461609c 100644 --- a/linux/aarch64/syscallent1.h +++ b/linux/aarch64/syscallent1.h @@ -45,7 +45,7 @@ { 2, TD, sys_fstatfs, "fstatfs64" }, /* 44 */ { 2, TF, sys_truncate, "truncate64" }, /* 45 */ { 2, TD, sys_ftruncate, "ftruncate64" }, /* 46 */ - { 6, TD, sys_fallocate, "fallocate" }, /* 47 */ + { 4, TD, sys_fallocate, "fallocate" }, /* 47 */ { 3, TD|TF, sys_faccessat, "faccessat" }, /* 48 */ { 1, TF, sys_chdir, "chdir" }, /* 49 */ { 1, TD, sys_fchdir, "fchdir" }, /* 50 */ -- cgit v1.2.3