Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ARM: wire up preadv2 and pwritev2 syscalls

Wire up the preadv2 and pwritev2 syscalls for ARM.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

+6 -2
+1 -1
arch/arm/include/asm/unistd.h
··· 19 19 * This may need to be greater than __NR_last_syscall+1 in order to 20 20 * account for the padding in the syscall table 21 21 */ 22 - #define __NR_syscalls (392) 22 + #define __NR_syscalls (396) 23 23 24 24 #define __ARCH_WANT_STAT64 25 25 #define __ARCH_WANT_SYS_GETHOSTNAME
+2
arch/arm/include/uapi/asm/unistd.h
··· 418 418 #define __NR_membarrier (__NR_SYSCALL_BASE+389) 419 419 #define __NR_mlock2 (__NR_SYSCALL_BASE+390) 420 420 #define __NR_copy_file_range (__NR_SYSCALL_BASE+391) 421 + #define __NR_preadv2 (__NR_SYSCALL_BASE+392) 422 + #define __NR_pwritev2 (__NR_SYSCALL_BASE+393) 421 423 422 424 /* 423 425 * The following SWIs are ARM private.
+3 -1
arch/arm/kernel/calls.S
··· 399 399 CALL(sys_execveat) 400 400 CALL(sys_userfaultfd) 401 401 CALL(sys_membarrier) 402 - CALL(sys_mlock2) 402 + /* 390 */ CALL(sys_mlock2) 403 403 CALL(sys_copy_file_range) 404 + CALL(sys_preadv2) 405 + CALL(sys_pwritev2) 404 406 #ifndef syscalls_counted 405 407 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls 406 408 #define syscalls_counted