Skip to content

Commit 119a0a3

Browse files
committed
parisc: Wire up preadv2 and pwritev2 syscalls
Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 0de7985 commit 119a0a3

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎arch/parisc/include/uapi/asm/unistd.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,10 @@
362362
#define __NR_userfaultfd (__NR_Linux + 344)
363363
#define __NR_mlock2 (__NR_Linux + 345)
364364
#define __NR_copy_file_range (__NR_Linux + 346)
365+
#define __NR_preadv2 (__NR_Linux + 347)
366+
#define __NR_pwritev2 (__NR_Linux + 348)
365367

366-
#define __NR_Linux_syscalls (__NR_copy_file_range + 1)
368+
#define __NR_Linux_syscalls (__NR_pwritev2 + 1)
367369

368370

369371
#define __IGNORE_select /* newselect */

‎arch/parisc/kernel/syscall_table.S‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,8 @@
442442
ENTRY_SAME(userfaultfd)
443443
ENTRY_SAME(mlock2) /* 345 */
444444
ENTRY_SAME(copy_file_range)
445+
ENTRY_COMP(preadv2)
446+
ENTRY_COMP(pwritev2)
445447

446448

447449
.ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b))

0 commit comments

Comments
 (0)