parisc: wire up preadv/pwritev syscalls
authorKyle McMartin <kyle@mcmartin.ca>
Mon, 27 Apr 2009 12:29:12 +0000 (08:29 -0400)
committerKyle McMartin <kyle@mcmartin.ca>
Fri, 3 Jul 2009 03:34:05 +0000 (03:34 +0000)
Generic compat handlers look appropriate, so use those.

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/parisc/include/asm/unistd.h
arch/parisc/kernel/syscall_table.S

index ef26b009dc5da1f323a7fc77d329e6c520b5e40f..a3c341976dc25c3899143f2c8acf42c8c1962451 100644 (file)
 #define __NR_dup3              (__NR_Linux + 312)
 #define __NR_pipe2             (__NR_Linux + 313)
 #define __NR_inotify_init1     (__NR_Linux + 314)
+#define __NR_preadv            (__NR_Linux + 315)
+#define __NR_pwritev           (__NR_Linux + 316)
 
-#define __NR_Linux_syscalls    (__NR_inotify_init1 + 1)
+#define __NR_Linux_syscalls    (__NR_pwritev + 1)
 
 
 #define __IGNORE_select                /* newselect */
index 03b9a01bc16cf49340db4d69329a08338e47650f..6a6296148e5d1aa04e8cb870d3d8c3bb7b7a0b7b 100644 (file)
        ENTRY_SAME(dup3)
        ENTRY_SAME(pipe2)
        ENTRY_SAME(inotify_init1)
+       ENTRY_COMP(preadv)
+       ENTRY_COMP(pwritev)
 
        /* Nothing yet */