提交 b855d45d 编写于 作者: M Michael Ellerman

powerpc: Wire up sys_userfaultfd()

The selftest passes on 64-bit LE and BE.
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 daebaabb
...@@ -368,3 +368,4 @@ SYSCALL_SPU(memfd_create) ...@@ -368,3 +368,4 @@ SYSCALL_SPU(memfd_create)
SYSCALL_SPU(bpf) SYSCALL_SPU(bpf)
COMPAT_SYS(execveat) COMPAT_SYS(execveat)
PPC64ONLY(switch_endian) PPC64ONLY(switch_endian)
SYSCALL_SPU(userfaultfd)
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <uapi/asm/unistd.h> #include <uapi/asm/unistd.h>
#define __NR_syscalls 364 #define __NR_syscalls 365
#define __NR__exit __NR_exit #define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls #define NR_syscalls __NR_syscalls
......
...@@ -386,5 +386,6 @@ ...@@ -386,5 +386,6 @@
#define __NR_bpf 361 #define __NR_bpf 361
#define __NR_execveat 362 #define __NR_execveat 362
#define __NR_switch_endian 363 #define __NR_switch_endian 363
#define __NR_userfaultfd 364
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */ #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册