summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/uapi/asm
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-09-08 15:16:09 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2015-09-09 12:51:15 +1000
commitb855d45dc3175eb3e602b945805c7b6aa8c04559 (patch)
tree2f660d2d51cf3e710c4d144d6586e52f2735d7aa /arch/powerpc/include/uapi/asm
parentdaebaabb5cfbe4a6f09ca0e0f8b7673efc704960 (diff)
downloadop-kernel-dev-b855d45dc3175eb3e602b945805c7b6aa8c04559.zip
op-kernel-dev-b855d45dc3175eb3e602b945805c7b6aa8c04559.tar.gz
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/asm')
-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 e4aa173..6ad58d4 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_ */
OpenPOWER on IntegriCloud