hexagon: Remove CONFIG_HEXAGON_ARCH_VERSION from uapi header
authorThomas Huth <thuth@redhat.com>
Thu, 26 Oct 2023 11:31:14 +0000 (13:31 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 23 Nov 2023 09:38:58 +0000 (10:38 +0100)
commit280ac17856ec438757810c9123ddf2294b07c46f
treea84d69539620193a3adbbbe06df757b721416519
parentb85ea95d086471afb4ad062012a4d73cd328fa86
hexagon: Remove CONFIG_HEXAGON_ARCH_VERSION from uapi header

uapi headers should not expose CONFIG switches since they are not
available in userspace. Fix it in arch/hexagon/include/uapi/asm/user.h
by always defining the cs0 and cs1 entries instead of pad values.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/hexagon/include/uapi/asm/user.h
arch/hexagon/kernel/ptrace.c
scripts/headers_install.sh