Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b855d45d authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc: Wire up sys_userfaultfd()



The selftest passes on 64-bit LE and BE.

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent daebaabb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -368,3 +368,4 @@ SYSCALL_SPU(memfd_create)
SYSCALL_SPU(bpf)
COMPAT_SYS(execveat)
PPC64ONLY(switch_endian)
SYSCALL_SPU(userfaultfd)
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
#include <uapi/asm/unistd.h>


#define __NR_syscalls		364
#define __NR_syscalls		365

#define __NR__exit __NR_exit
#define NR_syscalls	__NR_syscalls
+1 −0
Original line number Diff line number Diff line
@@ -386,5 +386,6 @@
#define __NR_bpf		361
#define __NR_execveat		362
#define __NR_switch_endian	363
#define __NR_userfaultfd	364

#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */