From: Zaid Al-Bassam Date: Fri, 17 Mar 2023 19:50:23 +0000 (-0400) Subject: perf: pmuv3: Move inclusion of kvm_host.h to the arch-specific helper X-Git-Tag: v6.6.17~4923^2~6^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11fba29a8a1f2fca08f301426b15c62d8a0b8040;p=platform%2Fkernel%2Flinux-rpi.git 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 Tested-by: Florian Fainelli Link: https://lore.kernel.org/r/20230317195027.3746949-5-zalbassam@google.com Signed-off-by: Will Deacon --- diff --git a/arch/arm64/include/asm/arm_pmuv3.h b/arch/arm64/include/asm/arm_pmuv3.h index 80cdfa4..d6b51de 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 + #include #include diff --git a/drivers/perf/arm_pmuv3.c b/drivers/perf/arm_pmuv3.c index f7d890a..2cab600 100644 --- a/drivers/perf/arm_pmuv3.c +++ b/drivers/perf/arm_pmuv3.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include