From 4c14d1ce17bcc4c0c0f291ee162f9de73c4ee2eb Mon Sep 17 00:00:00 2001 From: Vasily Gorbik Date: Mon, 9 Jul 2018 17:07:48 +0200 Subject: rseq/selftests: add s390 support Implement support for s390 in the rseq selftests, in order to sanity check the recently enabled rseq syscall. The Implementation covers both 64-bit and 31-bit mode. Acked-by: Heiko Carstens Signed-off-by: Vasily Gorbik Signed-off-by: Martin Schwidefsky --- tools/testing/selftests/rseq/rseq.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/testing/selftests/rseq/rseq.h') diff --git a/tools/testing/selftests/rseq/rseq.h b/tools/testing/selftests/rseq/rseq.h index a4684112676c..5d1ee38a64a3 100644 --- a/tools/testing/selftests/rseq/rseq.h +++ b/tools/testing/selftests/rseq/rseq.h @@ -75,6 +75,8 @@ extern __thread volatile struct rseq __rseq_abi; #include #elif defined(__mips__) #include +#elif defined(__s390__) +#include #else #error unsupported target #endif -- cgit v1.2.3-59-g8ed1b