summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/uapi
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-11-11 21:54:26 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2015-11-16 17:05:53 +1100
commit1451ad03fac3e86948728e0b11f63dee73d3106c (patch)
tree51b752095894fa41392d31dbe36f6827981b460b /arch/powerpc/include/uapi
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
powerpc: Wire up sys_mlock2()
The selftest passes on 64-bit LE and 32-bit 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 81579e93c659..1effea5193d6 100644
--- a/arch/powerpc/include/uapi/asm/unistd.h
+++ b/arch/powerpc/include/uapi/asm/unistd.h
@@ -400,5 +400,6 @@
#define __NR_shmdt 375
#define __NR_shmget 376
#define __NR_shmctl 377
+#define __NR_mlock2 378
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */