diff options
author | Marc Zyngier <maz@kernel.org> | 2021-01-04 19:50:16 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-01-04 19:50:16 +0300 |
commit | 8cbebc4118b5933b3ae6351ceb433f75ac6b7c6b (patch) | |
tree | f500e3dbbeada8785404e337a8baf0c45b0788ae /include/kvm | |
parent | 957cbca7317f7413e1bac555a6b567af06598b10 (diff) | |
download | linux-8cbebc4118b5933b3ae6351ceb433f75ac6b7c6b.tar.xz |
KVM: arm64: Replace KVM_ARM_PMU with HW_PERF_EVENTS
KVM_ARM_PMU only existed for the benefit of 32bit ARM hosts,
and makes no sense now that we are 64bit only. Get rid of it.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/kvm')
-rw-r--r-- | include/kvm/arm_pmu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kvm/arm_pmu.h b/include/kvm/arm_pmu.h index fc85f50fa0e9..8dcb3e1477bc 100644 --- a/include/kvm/arm_pmu.h +++ b/include/kvm/arm_pmu.h @@ -13,7 +13,7 @@ #define ARMV8_PMU_CYCLE_IDX (ARMV8_PMU_MAX_COUNTERS - 1) #define ARMV8_PMU_MAX_COUNTER_PAIRS ((ARMV8_PMU_MAX_COUNTERS + 1) >> 1) -#ifdef CONFIG_KVM_ARM_PMU +#ifdef CONFIG_HW_PERF_EVENTS struct kvm_pmc { u8 idx; /* index into the pmu->pmc array */ |