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

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
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* This may need to be greater than __NR_last_syscall+1 in order to * This may need to be greater than __NR_last_syscall+1 in order to
* account for the padding in the syscall table * 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 * *NOTE*: This is a ghost syscall private to the kernel. Only the
......
...@@ -414,6 +414,8 @@ ...@@ -414,6 +414,8 @@
#define __NR_memfd_create (__NR_SYSCALL_BASE+385) #define __NR_memfd_create (__NR_SYSCALL_BASE+385)
#define __NR_bpf (__NR_SYSCALL_BASE+386) #define __NR_bpf (__NR_SYSCALL_BASE+386)
#define __NR_execveat (__NR_SYSCALL_BASE+387) #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. * The following SWIs are ARM private.
......
...@@ -397,6 +397,8 @@ ...@@ -397,6 +397,8 @@
/* 385 */ CALL(sys_memfd_create) /* 385 */ CALL(sys_memfd_create)
CALL(sys_bpf) CALL(sys_bpf)
CALL(sys_execveat) CALL(sys_execveat)
CALL(sys_userfaultfd)
CALL(sys_membarrier)
#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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment