Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rcutorture: build initrd for rcutorture with nolibc

This reduces the size of init from ~600KB to ~1KB.

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>

authored by

Sven Schnelle and committed by
Paul E. McKenney
28ef4c37 16d4b2bd

+1 -1
+1 -1
tools/testing/selftests/rcutorture/bin/mkinitrd.sh
··· 64 64 # build using nolibc on supported archs (smaller executable) and fall 65 65 # back to regular glibc on other ones. 66 66 if echo -e "#if __x86_64__||__i386__||__i486__||__i586__||__i686__" \ 67 - "||__ARM_EABI__||__aarch64__\nyes\n#endif" \ 67 + "||__ARM_EABI__||__aarch64__||__s390x__\nyes\n#endif" \ 68 68 | ${CROSS_COMPILE}gcc -E -nostdlib -xc - \ 69 69 | grep -q '^yes'; then 70 70 # architecture supported by nolibc