Skip to content

Commit

Permalink
rcutorture: add support for s390
Browse files Browse the repository at this point in the history
Add the required values to identify_qemu() and
identify_bootimage().

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
  • Loading branch information
svens-s390 authored and paulmckrcu committed Jan 9, 2023
1 parent 0043e6f commit 16d4b2b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/testing/selftests/rcutorture/bin/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ identify_boot_image () {
qemu-system-aarch64)
echo arch/arm64/boot/Image
;;
qemu-system-s390x)
echo arch/s390/boot/bzImage
;;
*)
echo vmlinux
;;
Expand All @@ -184,6 +187,9 @@ identify_qemu () {
elif echo $u | grep -q aarch64
then
echo qemu-system-aarch64
elif echo $u | grep -q 'IBM S/390'
then
echo qemu-system-s390x
elif uname -a | grep -q ppc64
then
echo qemu-system-ppc64
Expand Down

0 comments on commit 16d4b2b

Please sign in to comment.