Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: Wire up sys_userfaultfd()

The selftest passes on 64-bit LE and BE.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

+3 -1
+1
arch/powerpc/include/asm/systbl.h
··· 368 368 SYSCALL_SPU(bpf) 369 369 COMPAT_SYS(execveat) 370 370 PPC64ONLY(switch_endian) 371 + SYSCALL_SPU(userfaultfd)
+1 -1
arch/powerpc/include/asm/unistd.h
··· 12 12 #include <uapi/asm/unistd.h> 13 13 14 14 15 - #define __NR_syscalls 364 15 + #define __NR_syscalls 365 16 16 17 17 #define __NR__exit __NR_exit 18 18 #define NR_syscalls __NR_syscalls
+1
arch/powerpc/include/uapi/asm/unistd.h
··· 386 386 #define __NR_bpf 361 387 387 #define __NR_execveat 362 388 388 #define __NR_switch_endian 363 389 + #define __NR_userfaultfd 364 389 390 390 391 #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */