diff options
author | Thomas Huth <thuth@redhat.com> | 2023-10-25 09:38:02 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-10-25 15:54:24 +0200 |
commit | 550087a0ba91eb001c139f563a193b1e9ef5a8dd (patch) | |
tree | 1db7d2e1fe84ea2008444fa6131fee522c11f7fd /scripts/headers_install.sh | |
parent | asm-generic: Fix spelling of architecture (diff) | |
download | linux-550087a0ba91eb001c139f563a193b1e9ef5a8dd.tar.xz linux-550087a0ba91eb001c139f563a193b1e9ef5a8dd.zip |
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>
Diffstat (limited to 'scripts/headers_install.sh')
-rwxr-xr-x | scripts/headers_install.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/headers_install.sh b/scripts/headers_install.sh index 56d3c338d91d..c3064ac31003 100755 --- a/scripts/headers_install.sh +++ b/scripts/headers_install.sh @@ -74,7 +74,6 @@ arch/arc/include/uapi/asm/page.h:CONFIG_ARC_PAGE_SIZE_16K arch/arc/include/uapi/asm/page.h:CONFIG_ARC_PAGE_SIZE_4K arch/arc/include/uapi/asm/swab.h:CONFIG_ARC_HAS_SWAPE arch/arm/include/uapi/asm/ptrace.h:CONFIG_CPU_ENDIAN_BE8 -arch/hexagon/include/uapi/asm/ptrace.h:CONFIG_HEXAGON_ARCH_VERSION arch/hexagon/include/uapi/asm/user.h:CONFIG_HEXAGON_ARCH_VERSION arch/m68k/include/uapi/asm/ptrace.h:CONFIG_COLDFIRE arch/nios2/include/uapi/asm/swab.h:CONFIG_NIOS2_CI_SWAB_NO |