xfs
[Top] [All Lists]

[PATCH 3/7][TAKE5] fallocate() on ia64

To: linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx
Subject: [PATCH 3/7][TAKE5] fallocate() on ia64
From: "Amit K. Arora" <aarora@xxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Jun 2007 19:13:52 +0530
Cc: David Chinner <dgc@xxxxxxx>, Andreas Dilger <adilger@xxxxxxxxxxxxx>, suparna@xxxxxxxxxx, cmm@xxxxxxxxxx, xfs@xxxxxxxxxxx
In-reply-to: <20070625132810.GA1951@xxxxxxxxxxxxxxxxxxxx>
References: <20070510115620.GB21400@xxxxxxxxxxxxxxxxxxxx> <20070510223950.GD86004887@xxxxxxx> <20070511110301.GB28425@xxxxxxxxxx> <20070512080157.GF85884050@xxxxxxx> <20070612061652.GA6320@xxxxxxxxxxxxxxxxxxxx> <20070613235217.GS86004887@xxxxxxx> <20070614091458.GH5181@xxxxxxxxxxxxxxxxxxxx> <20070614120413.GD86004887@xxxxxxx> <20070614193347.GN5181@xxxxxxxxxxxxxxxxxxxx> <20070625132810.GA1951@xxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
fallocate() on ia64

ia64 fallocate syscall support.

Signed-off-by: Dave Chinner <dgc@xxxxxxx>

Index: linux-2.6.22-rc4/arch/ia64/kernel/entry.S
===================================================================
--- linux-2.6.22-rc4.orig/arch/ia64/kernel/entry.S      2007-06-11 
17:22:15.000000000 -0700
+++ linux-2.6.22-rc4/arch/ia64/kernel/entry.S   2007-06-11 17:30:37.000000000 
-0700
@@ -1588,5 +1588,6 @@
        data8 sys_signalfd
        data8 sys_timerfd
        data8 sys_eventfd
+       data8 sys_fallocate                     // 1310
 
        .org sys_call_table + 8*NR_syscalls     // guard against failures to 
increase NR_syscalls
Index: linux-2.6.22-rc4/include/asm-ia64/unistd.h
===================================================================
--- linux-2.6.22-rc4.orig/include/asm-ia64/unistd.h     2007-06-11 
17:22:15.000000000 -0700
+++ linux-2.6.22-rc4/include/asm-ia64/unistd.h  2007-06-11 17:30:37.000000000 
-0700
@@ -299,11 +299,12 @@
 #define __NR_signalfd                  1307
 #define __NR_timerfd                   1308
 #define __NR_eventfd                   1309
+#define __NR_fallocate                 1310
 
 #ifdef __KERNEL__
 
 
-#define NR_syscalls                    286 /* length of syscall table */
+#define NR_syscalls                    287 /* length of syscall table */
 
 /*
  * The following defines stop scripts/checksyscalls.sh from complaining about


<Prev in Thread] Current Thread [Next in Thread>