Commit 11fba29a authored by Zaid Al-Bassam's avatar Zaid Al-Bassam Committed by Will Deacon
Browse files

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: default avatarZaid Al-Bassam <zalbassam@google.com>
Tested-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20230317195027.3746949-5-zalbassam@google.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 71143277
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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>

+0 −1
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@

#include <linux/acpi.h>
#include <linux/clocksource.h>
#include <linux/kvm_host.h>
#include <linux/of.h>
#include <linux/perf/arm_pmu.h>
#include <linux/perf/arm_pmuv3.h>