[PATCH v2] KVM: arm64: Avoid naming collision in tracing

Oliver Upton oupton at kernel.org
Wed Jul 15 00:57:55 PDT 2026


On Mon, 13 Jul 2026 14:13:20 +0000, Mostafa Saleh wrote:
> When the hypervisor tracing (CONFIG_NVHE_EL2_TRACING) is disabled, it
> defines a static inline stub for trace_clock().
> 
> However, trace_clock() is already declared as an extern function in
> linux/trace_clock.h which is pulled in EL2 compilation.
> 
> If the file <nvhe/clock.h> is included when CONFIG_NVHE_EL2_TRACING
> is disabled (by including it manually in setup.c) it will cause:
> In file included from arch/arm64/kvm/hyp/nvhe/setup.c:22:
> 
> [...]

Applied to next, thanks!

[1/1] KVM: arm64: Avoid naming collision in tracing
      https://git.kernel.org/kvmarm/kvmarm/c/007e0f0fd9b7

--
Best,
Oliver



More information about the linux-arm-kernel mailing list