rseq/selftests: add s390 support
authorVasily Gorbik <gor@linux.ibm.com>
Mon, 9 Jul 2018 15:07:48 +0000 (17:07 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 9 Aug 2018 05:59:05 +0000 (07:59 +0200)
commit4c14d1ce17bcc4c0c0f291ee162f9de73c4ee2eb
tree46dd4031d6a4edcfc938810252020470a56e19a9
parent26f843848bae973817b3587780ce6b7b0200d3e4
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>
tools/testing/selftests/rseq/param_test.c
tools/testing/selftests/rseq/rseq-s390.h [new file with mode: 0644]
tools/testing/selftests/rseq/rseq.h