arc: ptrace: hard-code "arc" instead of UTS_MACHINE
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 13 Apr 2020 01:32:40 +0000 (10:32 +0900)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 13 Apr 2020 05:27:09 +0000 (22:27 -0700)
commit9eca345c67ad69652d54fd929830758c324f25ca
tree5c69748c887c62bf13284487c40d978f9ff2306c
parent4c13ca86dcf80a8c705b1f3674ff43d318e970e0
arc: ptrace: hard-code "arc" instead of UTS_MACHINE

ARC uses the UTS_MACHINE defined in the top Makefile as follows:

  UTS_MACHINE     := $(ARCH)

We know it is "arc" when we are building the kernel for ARC.
Hard-code user_regset_view::name, like many other architectures do.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/Makefile
arch/arc/kernel/ptrace.c