forked from luck/tmp_suning_uos_patched
ARM: wire up copy_file_range() syscall
Add the copy_file_range() syscall to ARM. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
7f66cd3f54
commit
03590cb56d
|
@ -417,6 +417,7 @@
|
||||||
#define __NR_userfaultfd (__NR_SYSCALL_BASE+388)
|
#define __NR_userfaultfd (__NR_SYSCALL_BASE+388)
|
||||||
#define __NR_membarrier (__NR_SYSCALL_BASE+389)
|
#define __NR_membarrier (__NR_SYSCALL_BASE+389)
|
||||||
#define __NR_mlock2 (__NR_SYSCALL_BASE+390)
|
#define __NR_mlock2 (__NR_SYSCALL_BASE+390)
|
||||||
|
#define __NR_copy_file_range (__NR_SYSCALL_BASE+391)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following SWIs are ARM private.
|
* The following SWIs are ARM private.
|
||||||
|
|
|
@ -400,6 +400,7 @@
|
||||||
CALL(sys_userfaultfd)
|
CALL(sys_userfaultfd)
|
||||||
CALL(sys_membarrier)
|
CALL(sys_membarrier)
|
||||||
CALL(sys_mlock2)
|
CALL(sys_mlock2)
|
||||||
|
CALL(sys_copy_file_range)
|
||||||
#ifndef syscalls_counted
|
#ifndef syscalls_counted
|
||||||
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
|
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
|
||||||
#define syscalls_counted
|
#define syscalls_counted
|
||||||
|
|
Loading…
Reference in New Issue
Block a user