selftests/ftrace: add s390 support for kprobe args tests

This is the s390 variant of commit 9855c4626c ("selftests/ftrace:
Add ppc support for kprobe args tests").

Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
Heiko Carstens 2021-10-06 14:38:14 +02:00 committed by Vasily Gorbik
parent 885359c429
commit 3990b5baf2
2 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,9 @@ ppc64*)
ppc*)
ARG1=%r3
;;
s390*)
ARG1=%r2
;;
*)
echo "Please implement other architecture here"
exit_untested

View File

@ -32,6 +32,10 @@ ppc*)
GOODREG=%r3
BADREG=%msr
;;
s390*)
GOODREG=%r2
BADREG=%s2
;;
*)
echo "Please implement other architecture here"
exit_untested