summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2015-09-09 10:39:58 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-09-17 14:43:43 +0300
commit022435713c0391020b55706c5b80fa1be44ba321 (patch)
tree2e2cd1dffba387fbba279e321fcf5dc16fbe0cab /tools
parent61cc37906b45534fcc2bea03c17e135ec010b624 (diff)
downloadlinux-022435713c0391020b55706c5b80fa1be44ba321.tar.xz
s390: wire up userfaultfd system call
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/vm/userfaultfd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/vm/userfaultfd.c b/tools/testing/selftests/vm/userfaultfd.c
index 2c7cca6f26a4..7c1d958857d2 100644
--- a/tools/testing/selftests/vm/userfaultfd.c
+++ b/tools/testing/selftests/vm/userfaultfd.c
@@ -72,6 +72,8 @@
#define __NR_userfaultfd 374
#elif defined(__powewrpc__)
#define __NR_userfaultfd 364
+#elif defined(__s390__)
+#define __NR_userfaultfd 355
#else
#error "missing __NR_userfaultfd definition"
#endif