Skip to content

Commit 03590cb

Browse files
author
Russell King
committed
ARM: wire up copy_file_range() syscall
Add the copy_file_range() syscall to ARM. Signed-off-by: Russell King <[email protected]>
1 parent 7f66cd3 commit 03590cb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/arm/include/uapi/asm/unistd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@
417417
#define __NR_userfaultfd (__NR_SYSCALL_BASE+388)
418418
#define __NR_membarrier (__NR_SYSCALL_BASE+389)
419419
#define __NR_mlock2 (__NR_SYSCALL_BASE+390)
420+
#define __NR_copy_file_range (__NR_SYSCALL_BASE+391)
420421

421422
/*
422423
* The following SWIs are ARM private.

arch/arm/kernel/calls.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@
400400
CALL(sys_userfaultfd)
401401
CALL(sys_membarrier)
402402
CALL(sys_mlock2)
403+
CALL(sys_copy_file_range)
403404
#ifndef syscalls_counted
404405
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
405406
#define syscalls_counted

0 commit comments

Comments
 (0)