KVM: arm64: Fix out-of-tree build for nVHE/pKVM tracing

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>
This commit is contained in:
Vincent Donnefort 2026-03-11 16:49:56 +00:00 committed by Marc Zyngier
parent 39d5ca62a3
commit ce6a2badf5

View 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