linux/arch/arm
Arnd Bergmann f05995cc6d ARM: stacktrace: include asm/sections.h in asm/stacktrace.h
The recent kstack erase changes appear to have uncovered an existing
issue with a missing header inclusion:

In file included from drivers/misc/lkdtm/kstack_erase.c:12:
In file included from include/linux/kstack_erase.h:16:
arch/arm/include/asm/stacktrace.h:48:21: error: call to undeclared function 'in_entry_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   48 |                 frame->ex_frame = in_entry_text(frame->pc);
      |                                   ^

Include asm/sections.h here so the compiler can see the in_entry_text()
declaration.

Fixes: 752ec621ef ("ARM: 9234/1: stacktrace: Avoid duplicate saving of exception PC value")
Cc: Kees Cook <kees@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250807071902.4077714-1-arnd@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
2025-08-25 06:12:06 -07:00
..
boot soc: fixes for 6.17, part 1 2025-08-09 07:58:55 +03:00
common treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
configs sound updates #2 for 6.17-rc1 2025-08-01 12:26:24 -07:00
crypto This update includes the following changes: 2025-07-31 09:45:28 -07:00
include ARM: stacktrace: include asm/sections.h in asm/stacktrace.h 2025-08-25 06:12:06 -07:00
kernel Significant patch series in this pull request: 2025-08-03 16:23:09 -07:00
lib Crypto library updates for 6.17 2025-07-28 17:58:52 -07:00
mach-actions
mach-alpine
mach-artpec
mach-aspeed
mach-at91
mach-axxia
mach-bcm
mach-berlin
mach-clps711x
mach-davinci
mach-digicolor
mach-dove
mach-ep93xx
mach-exynos
mach-footbridge
mach-gemini
mach-highbank
mach-hisi
mach-hpe
mach-imx
mach-ixp4xx
mach-keystone
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
mach-milbeaut
mach-mmp
mach-mstar
mach-mv78xx0
mach-mvebu
mach-mxs
mach-nomadik
mach-npcm
mach-omap1
mach-omap2
mach-orion5x
mach-pxa
mach-qcom
mach-realtek
mach-rockchip
mach-rpc
mach-s3c soc: fixes for 6.17, part 1 2025-08-09 07:58:55 +03:00
mach-s5pv210
mach-sa1100 treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
mach-shmobile
mach-socfpga
mach-spear
mach-sti
mach-stm32
mach-sunxi
mach-tegra
mach-ux500
mach-versatile
mach-vt8500
mach-zynq
mm Summary of significant series in this pull request: 2025-07-31 14:57:54 -07:00
net
nwfpe
plat-orion treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
probes
tools
vdso stackleak: Split KSTACK_ERASE_CFLAGS from GCC_PLUGINS_CFLAGS 2025-07-21 21:40:57 -07:00
vfp
xen
Kbuild
Kconfig Remove or hide unused tracepoints 2025-07-30 16:41:58 -07:00
Kconfig-nommu
Kconfig.debug
Kconfig.platforms
Makefile ARM: 9448/1: Use an absolute path to unified.h in KBUILD_AFLAGS 2025-07-25 15:33:50 +01:00