diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2018-07-09 17:07:48 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-08-09 07:59:05 +0200 |
commit | 4c14d1ce17bcc4c0c0f291ee162f9de73c4ee2eb (patch) | |
tree | 46dd4031d6a4edcfc938810252020470a56e19a9 /tools/testing/selftests/rseq/rseq.h | |
parent | 26f843848bae973817b3587780ce6b7b0200d3e4 (diff) | |
download | linux-4c14d1ce17bcc4c0c0f291ee162f9de73c4ee2eb.tar.gz linux-4c14d1ce17bcc4c0c0f291ee162f9de73c4ee2eb.tar.bz2 linux-4c14d1ce17bcc4c0c0f291ee162f9de73c4ee2eb.zip |
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 <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'tools/testing/selftests/rseq/rseq.h')
-rw-r--r-- | tools/testing/selftests/rseq/rseq.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <rseq-ppc.h> #elif defined(__mips__) #include <rseq-mips.h> +#elif defined(__s390__) +#include <rseq-s390.h> #else #error unsupported target #endif |