Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 208473c1 authored by Russell King's avatar Russell King
Browse files

ARM: wire up new syscalls



Wire up the new userfaultfd and membarrier syscalls for ARM.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 1f93e4a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
 * This may need to be greater than __NR_last_syscall+1 in order to
 * account for the padding in the syscall table
 */
#define __NR_syscalls  (388)
#define __NR_syscalls  (392)

/*
 * *NOTE*: This is a ghost syscall private to the kernel.  Only the
+2 −0
Original line number Diff line number Diff line
@@ -414,6 +414,8 @@
#define __NR_memfd_create		(__NR_SYSCALL_BASE+385)
#define __NR_bpf			(__NR_SYSCALL_BASE+386)
#define __NR_execveat			(__NR_SYSCALL_BASE+387)
#define __NR_userfaultfd		(__NR_SYSCALL_BASE+388)
#define __NR_membarrier			(__NR_SYSCALL_BASE+389)

/*
 * The following SWIs are ARM private.
+2 −0
Original line number Diff line number Diff line
@@ -397,6 +397,8 @@
/* 385 */	CALL(sys_memfd_create)
		CALL(sys_bpf)
		CALL(sys_execveat)
		CALL(sys_userfaultfd)
		CALL(sys_membarrier)
#ifndef syscalls_counted
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
#define syscalls_counted