Re: [PATCH] scripts: get_feat.pl: substitute s390x with s390

From: Jonathan Corbet
Date: Wed Mar 12 2025 - 18:26:27 EST


Heiko Carstens <hca@xxxxxxxxxxxxx> writes:

> Both get_feat.pl and list-arch.sh use uname -m to get the machine hardware
> name to figure out the current architecture if no architecture is specified
> with a command line option.
>
> This doesn't work for s390, since for 64 bit kernels the hardware name is
> s390x, while the architecture name within the kernel, as well as in all
> feature files is s390.
>
> Therefore substitute s390x with s390 similar to what is already done for
> x86_64 and i386.
>
> Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
> ---
> Documentation/features/list-arch.sh | 2 +-
> scripts/get_feat.pl | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

jon