ARM: add copy_file_range system call
PATCH 1/1 ARM: add copy_file_range system call
The copy_file_range system call was added in linux-4.5 needs to be added to the system call tables on all architectures.
This is the change for arch/arm.
Signed-off-by Arnd Bergmann <[email protected]>
arch/arm/include/uapi/asm/unistd.h +1 -0
@@ -417,6 +417,7 @@#define __NR_userfaultfd (__NR_SYSCALL_BASE+388)#define __NR_membarrier (__NR_SYSCALL_BASE+389)#define __NR_mlock2 (__NR_SYSCALL_BASE+390) +#define __NR_copy_file_range (__NR_SYSCALL_BASE+391)/* * The following SWIs are ARM private.
arch/arm/kernel/calls.S +2 -1
@@ -399,7 +399,8 @@ CALL(sys_execveat) CALL(sys_userfaultfd) CALL(sys_membarrier) - CALL(sys_mlock2) +/* 390 */ CALL(sys_mlock2) + CALL(sys_copy_file_range) #ifndef syscalls_counted .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls #define syscalls_counted
Quoted 6 lines · Arnd Bergmann
The
copy_file_rangesystem call was added in linux-4.5 needs to be added to the system call tables on all architectures.This is the change for
arch/arm.Signed-off-by Arnd Bergmann <[email protected]>
Thanks, but as ever I much prefer to update the syscall table myself after -rc1.
Signature · 3 lines
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.