s390: ptrace: hard-code "s390x" instead of UTS_MACHINE
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 13 Apr 2020 01:31:13 +0000 (10:31 +0900)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 6 May 2020 12:59:20 +0000 (14:59 +0200)
commit0ba577802b0b183a38a5606e2c67504aba8b6f9d
tree5cff9efc33349485ee1b1372990255fa477bb784
parent19d4c761c1d2354e6c1deb6e1d31c949028b92d6
s390: ptrace: hard-code "s390x" instead of UTS_MACHINE

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.

Link: https://lkml.kernel.org/r/20200413013113.8529-1-masahiroy@kernel.org
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/Makefile
arch/s390/kernel/ptrace.c