hexagon: Remove unusable symbols from the ptrace.h uapi
authorThomas Huth <thuth@redhat.com>
Wed, 25 Oct 2023 07:38:02 +0000 (09:38 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 25 Oct 2023 13:54:24 +0000 (15:54 +0200)
commit550087a0ba91eb001c139f563a193b1e9ef5a8dd
tree1db7d2e1fe84ea2008444fa6131fee522c11f7fd
parentf82060480095a909291adc90d5579f50b6ec0627
hexagon: Remove unusable symbols from the ptrace.h uapi

Kernel-internal prototypes, references to current_thread_info()
and code hidden behind a CONFIG_HEXAGON_ARCH_VERSION switch are
certainly not usable in userspace, so this should not reside
in a uapi header. Move the code into an internal version of
ptrace.h instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/hexagon/include/asm/ptrace.h [new file with mode: 0644]
arch/hexagon/include/uapi/asm/ptrace.h
scripts/headers_install.sh