[IA64] fallocate system call
authorDavid Chinner <dgc@sgi.com>
Mon, 16 Jul 2007 05:33:40 +0000 (15:33 +1000)
committerTony Luck <tony.luck@intel.com>
Thu, 19 Jul 2007 20:48:00 +0000 (13:48 -0700)
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 <dgc@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/entry.S
include/asm-ia64/unistd.h

index 95f517515235ef1612d35f1eb635c407c0a7dad7..c36f43c9460094cfa72f9f5f73839965481c53fa 100644 (file)
@@ -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
index 441c9e0017762b0133c8a2e017e62596b2b8e11a..315f8de950a23a48cbc765b660d610d9ebd8725f 100644 (file)
 #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