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

ARM: wire up new syscalls

Wire up the new userfaultfd and membarrier syscalls for ARM.

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

+5 -1
+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 (388) 22 + #define __NR_syscalls (392) 23 23 24 24 /* 25 25 * *NOTE*: This is a ghost syscall private to the kernel. Only the
+2
arch/arm/include/uapi/asm/unistd.h
··· 414 414 #define __NR_memfd_create (__NR_SYSCALL_BASE+385) 415 415 #define __NR_bpf (__NR_SYSCALL_BASE+386) 416 416 #define __NR_execveat (__NR_SYSCALL_BASE+387) 417 + #define __NR_userfaultfd (__NR_SYSCALL_BASE+388) 418 + #define __NR_membarrier (__NR_SYSCALL_BASE+389) 417 419 418 420 /* 419 421 * The following SWIs are ARM private.
+2
arch/arm/kernel/calls.S
··· 397 397 /* 385 */ CALL(sys_memfd_create) 398 398 CALL(sys_bpf) 399 399 CALL(sys_execveat) 400 + CALL(sys_userfaultfd) 401 + CALL(sys_membarrier) 400 402 #ifndef syscalls_counted 401 403 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls 402 404 #define syscalls_counted