]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
KVM: sefltests: Explicitly include ucall_common.h in mmu_stress_test.c
authorSean Christopherson <seanjc@google.com>
Thu, 28 Nov 2024 00:55:39 +0000 (16:55 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 18 Dec 2024 22:14:57 +0000 (14:14 -0800)
Explicitly include ucall_common.h in the MMU stress test, as unlike arm64
and x86-64, RISC-V doesn't include ucall_common.h in its processor.h, i.e.
this will allow enabling the test on RISC-V.

Reported-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20241128005547.4077116-9-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/mmu_stress_test.c

index 5467b12f59036f2f09e094dde5740191cfb2cb81..fbb693428a8299fe1eaa3d4eefe6b008e5c71f00 100644 (file)
@@ -15,6 +15,7 @@
 #include "test_util.h"
 #include "guest_modes.h"
 #include "processor.h"
+#include "ucall_common.h"
 
 static void guest_code(uint64_t start_gpa, uint64_t end_gpa, uint64_t stride)
 {