Re: [PATCH] s390: ptrace: hard-code "s390x" instead of UTS_MACHINE

From: Vasily Gorbik
Date: Thu Apr 30 2020 - 06:22:27 EST


On Mon, Apr 13, 2020 at 10:31:13AM +0900, Masahiro Yamada wrote:
> s390 uses the UTS_MACHINE defined arch/s390/Makefile as follows:
>
> UTS_MACHINE := s390x
>
> We do not need to pass the fixed string from the command line.
> Hard-code user_regset_view::name, like many other architectures do.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> arch/s390/kernel/Makefile | 5 -----
> arch/s390/kernel/ptrace.c | 2 +-
> 2 files changed, 1 insertion(+), 6 deletions(-)

Yes, since we don't have 31-bit kernel build support for s390 anymore
this makes sense.
Applied, thanks.