Skip to content

Commit e159d63

Browse files
committed
Merge tag 'kvm-riscv-fixes-6.10-2' of https://github.com/kvm-riscv/linux into HEAD
KVM/riscv fixes for 6.10, take #2 - Fix compilation for KVM selftests
2 parents dee67a9 + 0fc670d commit e159d63

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

tools/testing/selftests/kvm/lib/riscv/ucall.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#include "kvm_util.h"
1111
#include "processor.h"
12+
#include "sbi.h"
1213

1314
void *ucall_arch_get_ucall(struct kvm_vcpu *vcpu)
1415
{

tools/testing/selftests/kvm/riscv/ebreak_test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*
77
*/
88
#include "kvm_util.h"
9+
#include "ucall_common.h"
910

1011
#define LABEL_ADDRESS(v) ((uint64_t)&(v))
1112

tools/testing/selftests/kvm/riscv/sbi_pmu_test.c

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

1920
/* Maximum counters(firmware + hardware) */
2021
#define RISCV_MAX_PMU_COUNTERS 64

0 commit comments

Comments
 (0)