From: Helge Deller Date: Tue, 8 Sep 2015 13:45:32 +0000 (+0200) Subject: parisc: Wire up userfaultfd syscall X-Git-Tag: v4.4-rc1~139^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7bc2d40ea690a37eccc2f514c96c56fdcda626b5;p=thirdparty%2Fkernel%2Flinux.git parisc: Wire up userfaultfd syscall Signed-off-by: Helge Deller --- diff --git a/arch/parisc/include/uapi/asm/unistd.h b/arch/parisc/include/uapi/asm/unistd.h index dadcada6df8b9..33170384d3ac1 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 4e779912ec4e7..78c3ef8c348d5 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))