]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
KVM: arm64: Fix out-of-tree build for nVHE/pKVM tracing
authorVincent Donnefort <vdonnefort@google.com>
Wed, 11 Mar 2026 16:49:56 +0000 (16:49 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 11 Mar 2026 16:57:44 +0000 (16:57 +0000)
simple_ring_buffer.c is located in the source tree and isn't duplicated
to objtree. Fix its include path.

Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Link: https://patch.msgid.link/20260311164956.1424119-1-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/hyp/nvhe/Makefile

index 143d55ec7298753ac7564f402f9c2985a22c4438..3d33fbefdfc12dd9d062b7780cf27f16009580c0 100644 (file)
@@ -33,7 +33,7 @@ hyp-obj-$(CONFIG_NVHE_EL2_TRACING) += clock.o trace.o events.o
 hyp-obj-y += $(lib-objs)
 
 # Path to simple_ring_buffer.c
-CFLAGS_trace.nvhe.o += -I$(objtree)/kernel/trace/
+CFLAGS_trace.nvhe.o += -I$(srctree)/kernel/trace/
 
 ##
 ## Build rules for compiling nVHE hyp code