Skip to contentSkip to conversation

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

PATCH Applied Vincent Donnefort 2 participants 2 messages Mar 11

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

arch/arm64/kvm/hyp/nvhe/Makefile +1 -1
index 143d55ec7298..3d33fbefdfc1 100644
@@ -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

base-commit: c84ebda4050f1a0c7283dd3d3b82f41cb2e72a18

Signature · 1 line
2.53.0.851.ga537e3e6e9-goog
maintainer Applied
#1 lore raw
Quoted 4 lines · Vincent Donnefort

simple_ring_buffer.c is located in the source tree and isn't duplicated to objtree. Fix its include path.

Applied to next, thanks!

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

      commit: ce6a2badf58170bcf73489cd73981bb5775c1e22

Cheers,

	M.
Signature · 1 line
Without deviation from the norm, progress is not possible.