Skip to content
Commit a91bbd5c authored by Besar Wicaksono's avatar Besar Wicaksono Committed by Will Deacon
Browse files

perf: arm_cspmu: Fix module cyclic dependency



Build on arm64 allmodconfig failed with:
  | depmod: ERROR: Cycle detected: arm_cspmu -> nvidia_cspmu -> arm_cspmu
  | depmod: ERROR: Found 2 modules in dependency cycles!

The arm_cspmu.c provides standard functions to operate the PMU and the
vendor code provides vendor specific attributes. Both need to be built as
single kernel module.

Update the makefile to compile sources under arm_cspmu into one module.

Signed-off-by: default avatarBesar Wicaksono <bwicaksono@nvidia.com>
Reviewed-and-Tested-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20221116203952.34168-1-bwicaksono@nvidia.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent e72dbf90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment