Re: [PATCH] arm64: static_call: include asm/insns.h

From: Will Deacon

Date: Fri Jun 19 2026 - 12:40:41 EST


On Thu, 11 Jun 2026 15:21:44 +0200, Arnd Bergmann wrote:
> I came a cross a missing declaration in a randconfig build:
>
> arch/arm64/kernel/static_call.c:16:5: error: call to undeclared function 'aarch64_insn_adrp_get_offset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 16 | aarch64_insn_adrp_get_offset(le32_to_cpup(tramp + 4)) +
> | ^
>
> Include the header that contains this definition explicitly,
> rather than relying on it to come indirectly through another
> header.
>
> [...]

Applied to arm64 (for-next/core), thanks!

[1/1] arm64: static_call: include asm/insns.h
https://git.kernel.org/arm64/c/998d4d789d2d

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev