[IA64] wire up preadv/pwritev system calls
authorTony Luck <aegl@agluck-desktop.(none)>
Wed, 8 Apr 2009 20:46:14 +0000 (13:46 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 8 Apr 2009 20:46:14 +0000 (13:46 -0700)
Gerd Hoffmann added these to Linux.  Let ia64 use them.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/unistd.h
arch/ia64/kernel/entry.S

index 9015979ebe0f3481a2a7582db001097a608e0155..10a9eb05f74d121777ca763e0887f73c96dca88c 100644 (file)
 #define __NR_dup3                      1316
 #define __NR_pipe2                     1317
 #define __NR_inotify_init1             1318
+#define __NR_preadv                    1319
+#define __NR_pwritev                   1320
 
 #ifdef __KERNEL__
 
 
-#define NR_syscalls                    295 /* length of syscall table */
+#define NR_syscalls                    297 /* length of syscall table */
 
 /*
  * The following defines stop scripts/checksyscalls.sh from complaining about
index 8dc69669586aeca975802ed634e7138df3b249bd..7bebac0e1d44705d8142860d3ce0093bc27ac60e 100644 (file)
@@ -1803,6 +1803,8 @@ sys_call_table:
        data8 sys_dup3
        data8 sys_pipe2
        data8 sys_inotify_init1
+       data8 sys_preadv
+       data8 sys_pwritev                       // 1320
 
        .org sys_call_table + 8*NR_syscalls     // guard against failures to increase NR_syscalls
 #endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */