summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/uapi
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-09-08 07:16:09 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2015-09-09 04:51:15 +0200
commitb855d45dc3175eb3e602b945805c7b6aa8c04559 (patch)
tree2f660d2d51cf3e710c4d144d6586e52f2735d7aa /arch/powerpc/include/uapi
parentpowerpc/pseries: Release DRC when configure_connector fails (diff)
downloadlinux-b855d45dc3175eb3e602b945805c7b6aa8c04559.tar.xz
linux-b855d45dc3175eb3e602b945805c7b6aa8c04559.zip
powerpc: Wire up sys_userfaultfd()
The selftest passes on 64-bit LE and BE. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/uapi')
-rw-r--r--arch/powerpc/include/uapi/asm/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h
index e4aa173dae62..6ad58d4c879b 100644
--- a/arch/powerpc/include/uapi/asm/unistd.h
+++ b/arch/powerpc/include/uapi/asm/unistd.h
@@ -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_ */