summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/uapi/asm/unistd.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-11-11 10:54:26 (GMT)
committerMichael Ellerman <mpe@ellerman.id.au>2015-11-16 06:05:53 (GMT)
commit1451ad03fac3e86948728e0b11f63dee73d3106c (patch)
tree51b752095894fa41392d31dbe36f6827981b460b /arch/powerpc/include/uapi/asm/unistd.h
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-1451ad03fac3e86948728e0b11f63dee73d3106c.tar.xz
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/asm/unistd.h')
-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 81579e9..1effea5 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_ */