aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/perf/arm-ccn.c
diff options
context:
space:
mode:
authorRob Herring (Arm) <[email protected]>2024-06-26 22:32:29 +0000
committerWill Deacon <[email protected]>2024-07-03 13:07:14 +0000
commitd688ffa269421cec73c7e13fd0cb03879b07db89 (patch)
tree7e27290885cd9ab4a051871896e43e55d658ad05 /drivers/perf/arm-ccn.c
parentperf: arm_v6/7_pmu: Drop non-DT probe support (diff)
downloadkernel-d688ffa269421cec73c7e13fd0cb03879b07db89.tar.gz
kernel-d688ffa269421cec73c7e13fd0cb03879b07db89.zip
perf: arm_pmuv3: Include asm/arm_pmuv3.h from linux/perf/arm_pmuv3.h
The arm64 asm/arm_pmuv3.h depends on defines from linux/perf/arm_pmuv3.h. Rather than depend on include order, follow the usual pattern of "linux" headers including "asm" headers of the same name. With this change, the include of linux/kvm_host.h is problematic due to circular includes: In file included from ../arch/arm64/include/asm/arm_pmuv3.h:9, from ../include/linux/perf/arm_pmuv3.h:312, from ../include/kvm/arm_pmu.h:11, from ../arch/arm64/include/asm/kvm_host.h:38, from ../arch/arm64/mm/init.c:41: ../include/linux/kvm_host.h:383:30: error: field 'arch' has incomplete type Switching to asm/kvm_host.h solves the issue. Signed-off-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/perf/arm-ccn.c')
0 files changed, 0 insertions, 0 deletions