summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2015-09-08 15:45:32 +0200
committerHelge Deller <deller@gmx.de>2015-10-22 15:44:20 +0200
commit7bc2d40ea690a37eccc2f514c96c56fdcda626b5 (patch)
treee61bc9a1204d4482256c118571a3203c82c9e5ad
parentb6096755f43c443101e6f5d3acc74efa746cb4ec (diff)
parisc: Wire up userfaultfd syscall
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r--arch/parisc/include/uapi/asm/unistd.h3
-rw-r--r--arch/parisc/kernel/syscall_table.S1
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/parisc/include/uapi/asm/unistd.h b/arch/parisc/include/uapi/asm/unistd.h
index dadcada6df8b..33170384d3ac 100644
--- a/arch/parisc/include/uapi/asm/unistd.h
+++ b/arch/parisc/include/uapi/asm/unistd.h
@@ -359,8 +359,9 @@
#define __NR_bpf (__NR_Linux + 341)
#define __NR_execveat (__NR_Linux + 342)
#define __NR_membarrier (__NR_Linux + 343)
+#define __NR_userfaultfd (__NR_Linux + 344)
-#define __NR_Linux_syscalls (__NR_membarrier + 1)
+#define __NR_Linux_syscalls (__NR_userfaultfd + 1)
#define __IGNORE_select /* newselect */
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 4e779912ec4e..78c3ef8c348d 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -439,6 +439,7 @@
ENTRY_SAME(bpf)
ENTRY_COMP(execveat)
ENTRY_SAME(membarrier)
+ ENTRY_SAME(userfaultfd)
.ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b))