summaryrefslogtreecommitdiff
path: root/arch/s390/include
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2015-11-16 12:31:33 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-11-16 12:51:07 +0100
commit932f608193cdbd3a275a4aefb94760dfd4a1f736 (patch)
tree4bca02cc8eed0cd72fdd1cf0d155f8c9b8d2d2f0 /arch/s390/include
parentddfd4a054b91def32cd1fe214f0a4d5506bb553b (diff)
s390: wire up mlock2 system call
Passes mlock2-tests test case in 64 bit and compat mode. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/uapi/asm/unistd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/include/uapi/asm/unistd.h b/arch/s390/include/uapi/asm/unistd.h
index c55de84ab1ad..34ec202472c6 100644
--- a/arch/s390/include/uapi/asm/unistd.h
+++ b/arch/s390/include/uapi/asm/unistd.h
@@ -309,7 +309,8 @@
#define __NR_recvfrom 371
#define __NR_recvmsg 372
#define __NR_shutdown 373
-#define NR_syscalls 374
+#define __NR_mlock2 374
+#define NR_syscalls 375
/*
* There are some system calls that are not present on 64 bit, some