Skip to content

Commit 11fba29

Browse files
Zaid Al-Bassamwilldeacon
authored andcommitted
perf: pmuv3: Move inclusion of kvm_host.h to the arch-specific helper
KVM host support is available only on arm64. By moving the inclusion of kvm_host.h to an arm64-specific file, the 32bit architecture will be able to implement dummy helpers. Signed-off-by: Zaid Al-Bassam <zalbassam@google.com> Tested-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20230317195027.3746949-5-zalbassam@google.com Signed-off-by: Will Deacon <will@kernel.org>
1 parent 7114327 commit 11fba29

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

arch/arm64/include/asm/arm_pmuv3.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#ifndef __ASM_PMUV3_H
77
#define __ASM_PMUV3_H
88

9+
#include <linux/kvm_host.h>
10+
911
#include <asm/cpufeature.h>
1012
#include <asm/sysreg.h>
1113

drivers/perf/arm_pmuv3.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
#include <linux/acpi.h>
1818
#include <linux/clocksource.h>
19-
#include <linux/kvm_host.h>
2019
#include <linux/of.h>
2120
#include <linux/perf/arm_pmu.h>
2221
#include <linux/perf/arm_pmuv3.h>

0 commit comments

Comments
 (0)