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 ARM: Switch to new sys-off handler API 2025-07-04 09:31:17 +02:00
mach-hisi
mach-hpe
mach-imx
mach-ixp4xx
mach-keystone
mach-lpc18xx
mach-lpc32xx
mach-mediatek ARM: mediatek: add MT6572 smp bring up code 2025-07-11 10:04:08 +02:00
mach-meson
mach-milbeaut
mach-mmp
mach-mstar
mach-mv78xx0
mach-mvebu
mach-mxs
mach-nomadik
mach-npcm
mach-omap1 ARM: omap1: ams-delta: use generic device properties for gpio-mmio 2025-07-07 09:31:08 +02:00
mach-omap2 ARM: soc updates for 6.16 2025-05-31 08:03:09 -07:00
mach-orion5x
mach-pxa ARM: Switch to new sys-off handler API 2025-07-04 09:31:17 +02:00
mach-qcom
mach-realtek
mach-rockchip ARM: rockchip: fix kernel hang during smp initialization 2025-07-14 15:38:40 +02:00
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 ARM: tegra: Use I/O memcpy to write to IRAM 2025-07-09 14:20:31 +02:00
mach-ux500
mach-versatile
mach-vt8500 ARM: Switch to new sys-off handler API 2025-07-04 09:31:17 +02:00
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 fs: introduce file_getattr and file_setattr syscalls 2025-07-02 17:05:17 +02:00
vdso stackleak: Split KSTACK_ERASE_CFLAGS from GCC_PLUGINS_CFLAGS 2025-07-21 21:40:57 -07:00
vfp ARM: 9446/1: Disallow kernel mode NEON when IRQs are disabled 2025-05-29 11:22:25 +01:00
xen ARM: Switch to new sys-off handler API 2025-07-04 09:31:17 +02:00
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