parisc: Wire up preadv2 and pwritev2 syscalls
authorHelge Deller <deller@gmx.de>
Wed, 23 Mar 2016 15:22:42 +0000 (16:22 +0100)
committerHelge Deller <deller@gmx.de>
Wed, 23 Mar 2016 15:22:42 +0000 (16:22 +0100)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/uapi/asm/unistd.h
arch/parisc/kernel/syscall_table.S

index fdb3c4e90d4cd435d5f4d28180e5d6668c73ca94..cc0ce92c93c78905c01ce06caaed92da41588db2 100644 (file)
 #define __NR_userfaultfd       (__NR_Linux + 344)
 #define __NR_mlock2            (__NR_Linux + 345)
 #define __NR_copy_file_range   (__NR_Linux + 346)
+#define __NR_preadv2           (__NR_Linux + 347)
+#define __NR_pwritev2          (__NR_Linux + 348)
 
-#define __NR_Linux_syscalls    (__NR_copy_file_range + 1)
+#define __NR_Linux_syscalls    (__NR_pwritev2 + 1)
 
 
 #define __IGNORE_select                /* newselect */
index c2c90931ffc110d5640606dfd604523c5dfca9ca..3cfef1de8061af183820e98ca97467d674a8c463 100644 (file)
        ENTRY_SAME(userfaultfd)
        ENTRY_SAME(mlock2)              /* 345 */
        ENTRY_SAME(copy_file_range)
+       ENTRY_COMP(preadv2)
+       ENTRY_COMP(pwritev2)
 
 
 .ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b))