torture: Add init-program support for loongarch
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 13 Jul 2023 23:38:14 +0000 (16:38 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 21 Jul 2023 00:54:53 +0000 (17:54 -0700)
commitecf671cf76b026dc27e6febb31a87b6b15d2a7f7
tree967a9a102846c779eeba52107354f625868d2ccf
parent10f84c2cfb5045e37d78cb5d4c8e8321e06ae18f
torture: Add init-program support for loongarch

This commit adds the __loongarch__, __loongarch_lp64, and
__loongarch_double_float targets to rcutorture's mkinitrd.sh
script in order to allow nolibc init programs for loongarch.

[ paulmck: Apply feedback from Feiyang Chen. ]

Cc: Feiyang Chen <chenfeiyang@loongson.cn>
Cc: Huacai Chen <chenhuacai@loongson.cn>
Cc: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/mkinitrd.sh