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 ARM: aspeed: Don't select SRAM 2025-05-21 23:07:08 +02:00
mach-at91 ARM: at91: pm: Enable ULP0/ULP1 for SAMA7D65 2025-03-02 17:38:54 +02:00
mach-axxia
mach-bcm ARM: bcm: brcmstb: Drop custom init_irq callback 2024-10-08 15:02:31 -07:00
mach-berlin
mach-clps711x
mach-davinci ARM: davinci: remove support for da830 2025-04-16 18:02:20 +02:00
mach-digicolor
mach-dove ARM: dove: Drop a write-only variable 2024-09-02 16:11:28 +02:00
mach-ep93xx ARM: ep93xx: delete all boardfiles 2024-09-12 14:33:12 +00:00
mach-exynos ARM: Switch to irq_domain_create_*() 2025-05-16 21:06:08 +02:00
mach-footbridge treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
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 ARM: Switch to irq_domain_create_*() 2025-05-16 21:06:08 +02:00
mach-ixp4xx
mach-keystone
mach-lpc18xx
mach-lpc32xx dmaengine: Add dma router for pl08x in LPC32XX SoC 2024-08-29 22:54:11 +05:30
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 ARM: mvebu: Warn about memory chunks too small for DDR training 2024-09-02 14:34:58 +02:00
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 ARM: orion5x: Switch to new sys-off handler API 2024-09-02 14:42:52 +02:00
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 ARM: riscpc: make ecard_bus_type constant 2025-01-10 15:42:06 +01:00
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 soc: arm platform changes for 6.15 2025-03-27 09:37:18 -07:00
mach-socfpga
mach-spear
mach-sti
mach-stm32 ARM: stm32: add a new SoC - STM32H747 2025-05-14 10:36:14 +02:00
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 soc: driver updates for 6.12 2024-09-17 10:48:09 +02:00
mach-vt8500 ARM: Switch to new sys-off handler API 2025-07-04 09:31:17 +02:00
mach-zynq ARM: zynq: Remove unused zynq_slcr_init() declaration 2024-10-02 09:13:08 +02:00
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 kernel/events/uprobes: pass VMA to set_swbp(), set_orig_insn() and uprobe_write_opcode() 2025-05-11 17:48:18 -07:00
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 ARM: bcm: Support BCMBCA debug UART 2024-10-08 15:02:31 -07:00
Kconfig.platforms
Makefile ARM: 9448/1: Use an absolute path to unified.h in KBUILD_AFLAGS 2025-07-25 15:33:50 +01:00