Browse Source

parisc: Wire up userfaultfd syscall

Signed-off-by: Helge Deller <deller@gmx.de>
Helge Deller 10 years ago
parent
commit
7bc2d40ea6
2 changed files with 3 additions and 1 deletions
  1. 2 1
      arch/parisc/include/uapi/asm/unistd.h
  2. 1 0
      arch/parisc/kernel/syscall_table.S

+ 2 - 1
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 */

+ 1 - 0
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))