summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/unistd32.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-10-14 15:20:36 +0300
committerWill Deacon <will.deacon@arm.com>2015-10-14 15:51:41 +0300
commiteb93ce2cb7a85368c1f1733df35aab87152db56f (patch)
treee65d65ba20bc767012d20cb194f0b822fbd0f46a /arch/arm64/include/asm/unistd32.h
parentc9692657c0321fec7bcb3ca8c6db56c08c640ace (diff)
downloadlinux-eb93ce2cb7a85368c1f1733df35aab87152db56f.tar.xz
arm64: compat: wire up new syscalls
Commit 208473c1f3ac ("ARM: wire up new syscalls") hooked up the new userfaultfd and membarrier syscalls for ARM, so do the same for our compat syscall table in arm64. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/unistd32.h')
-rw-r--r--arch/arm64/include/asm/unistd32.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h
index cef934a90f17..5b925b761a2a 100644
--- a/arch/arm64/include/asm/unistd32.h
+++ b/arch/arm64/include/asm/unistd32.h
@@ -797,3 +797,12 @@ __SYSCALL(__NR_memfd_create, sys_memfd_create)
__SYSCALL(__NR_bpf, sys_bpf)
#define __NR_execveat 387
__SYSCALL(__NR_execveat, compat_sys_execveat)
+#define __NR_userfaultfd 388
+__SYSCALL(__NR_userfaultfd, sys_userfaultfd)
+#define __NR_membarrier 389
+__SYSCALL(__NR_membarrier, sys_membarrier)
+
+/*
+ * Please add new compat syscalls above this comment and update
+ * __NR_compat_syscalls in asm/unistd.h.
+ */