From: David Chinner Date: Mon, 16 Jul 2007 05:33:40 +0000 (+1000) Subject: [IA64] fallocate system call X-Git-Tag: v2.6.23-rc1~198^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d7559e677deafefe134f36c1e75f9119b956672;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git [IA64] fallocate system call sys_fallocate for ia64. This uses an empty slot #1303 erroneously marked as reserved for move_pages (which had already been allocated as syscall #1276) Signed-Off-By: Dave Chinner Signed-off-by: Tony Luck --- diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S index 95f5175..c36f43c 100644 --- a/arch/ia64/kernel/entry.S +++ b/arch/ia64/kernel/entry.S @@ -1581,7 +1581,7 @@ sys_call_table: data8 sys_sync_file_range // 1300 data8 sys_tee data8 sys_vmsplice - data8 sys_ni_syscall // reserved for move_pages + data8 sys_fallocate data8 sys_getcpu data8 sys_epoll_pwait // 1305 data8 sys_utimensat diff --git a/include/asm-ia64/unistd.h b/include/asm-ia64/unistd.h index 441c9e0..315f8de 100644 --- a/include/asm-ia64/unistd.h +++ b/include/asm-ia64/unistd.h @@ -292,7 +292,7 @@ #define __NR_sync_file_range 1300 #define __NR_tee 1301 #define __NR_vmsplice 1302 -/* 1303 reserved for move_pages */ +#define __NR_fallocate 1303 #define __NR_getcpu 1304 #define __NR_epoll_pwait 1305 #define __NR_utimensat 1306