diff options
author | 2024-11-27 16:55:39 -0800 | |
---|---|---|
committer | 2024-12-18 14:14:57 -0800 | |
commit | c35d8f579e50328f539bc049cc057f2158bb8e60 (patch) | |
tree | f020b8e78ff63b48094ece49c5769bee4c6edea9 | |
parent | KVM: selftests: Compute number of extra pages needed in mmu_stress_test (diff) | |
download | wireguard-linux-c35d8f579e50328f539bc049cc057f2158bb8e60.tar.xz wireguard-linux-c35d8f579e50328f539bc049cc057f2158bb8e60.zip |
KVM: sefltests: Explicitly include ucall_common.h in mmu_stress_test.c
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>
Diffstat (limited to '')
-rw-r--r-- | tools/testing/selftests/kvm/mmu_stress_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/kvm/mmu_stress_test.c b/tools/testing/selftests/kvm/mmu_stress_test.c index 5467b12f5903..fbb693428a82 100644 --- a/tools/testing/selftests/kvm/mmu_stress_test.c +++ b/tools/testing/selftests/kvm/mmu_stress_test.c @@ -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) { |