summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include
diff options
context:
space:
mode:
authorZaid Al-Bassam <zalbassam@google.com>2023-03-17 15:50:23 -0400
committerWill Deacon <will@kernel.org>2023-03-27 14:01:18 +0100
commit11fba29a8a1f2fca08f301426b15c62d8a0b8040 (patch)
tree6f2a90cb7e9dcc0ebcaa45bb842340840c528bc7 /arch/arm64/include
parent711432770f78e5a9ae235a1a55decfb71993c958 (diff)
downloadlinux-stable-11fba29a8a1f2fca08f301426b15c62d8a0b8040.tar.gz
linux-stable-11fba29a8a1f2fca08f301426b15c62d8a0b8040.tar.bz2
linux-stable-11fba29a8a1f2fca08f301426b15c62d8a0b8040.zip
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>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r--arch/arm64/include/asm/arm_pmuv3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/arm_pmuv3.h b/arch/arm64/include/asm/arm_pmuv3.h
index 80cdfa4c3e88..d6b51deb7bf0 100644
--- a/arch/arm64/include/asm/arm_pmuv3.h
+++ b/arch/arm64/include/asm/arm_pmuv3.h
@@ -6,6 +6,8 @@
#ifndef __ASM_PMUV3_H
#define __ASM_PMUV3_H
+#include <linux/kvm_host.h>
+
#include <asm/cpufeature.h>
#include <asm/sysreg.h>