Skip to content

Commit c35d8f5

Browse files
committed
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
1 parent 1ddd3ea commit c35d8f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/testing/selftests/kvm/mmu_stress_test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "test_util.h"
1616
#include "guest_modes.h"
1717
#include "processor.h"
18+
#include "ucall_common.h"
1819

1920
static void guest_code(uint64_t start_gpa, uint64_t end_gpa, uint64_t stride)
2021
{

0 commit comments

Comments
 (0)