diff options
| author | 2021-09-24 06:04:42 -0400 | |
|---|---|---|
| committer | 2021-09-24 06:04:42 -0400 | |
| commit | 50b078184604fea95adbb144ff653912fb0e48c6 (patch) | |
| tree | 7398329706c87a4f144fc6d6734cbd500538d962 /include/linux | |
| parent | selftests: KVM: Explicitly use movq to read xmm registers (diff) | |
| parent | KVM: arm64: Fix PMU probe ordering (diff) | |
| download | linux-dev-50b078184604fea95adbb144ff653912fb0e48c6.tar.xz linux-dev-50b078184604fea95adbb144ff653912fb0e48c6.zip | |
Merge tag 'kvmarm-fixes-5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into kvm-master
KVM/arm64 fixes for 5.15, take #1
- Add missing FORCE target when building the EL2 object
- Fix a PMU probe regression on some platforms
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/perf/arm_pmu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/perf/arm_pmu.h b/include/linux/perf/arm_pmu.h index 505480217cf1..2512e2f9cd4e 100644 --- a/include/linux/perf/arm_pmu.h +++ b/include/linux/perf/arm_pmu.h @@ -163,6 +163,12 @@ int arm_pmu_acpi_probe(armpmu_init_fn init_fn); static inline int arm_pmu_acpi_probe(armpmu_init_fn init_fn) { return 0; } #endif +#ifdef CONFIG_KVM +void kvm_host_pmu_init(struct arm_pmu *pmu); +#else +#define kvm_host_pmu_init(x) do { } while(0) +#endif + /* Internal functions only for core arm_pmu code */ struct arm_pmu *armpmu_alloc(void); struct arm_pmu *armpmu_alloc_atomic(void); |
