提交 e72dbf90 编写于 作者: B Besar Wicaksono 提交者: Will Deacon

perf: arm_cspmu: Fix build failure on x86_64

Building on x86_64 allmodconfig failed:
  | drivers/perf/arm_cspmu/arm_cspmu.c:1114:29: error: implicit
  |    declaration of function 'get_acpi_id_for_cpu'

get_acpi_id_for_cpu is a helper function from ARM64.
Fix by adding ARM64 dependency.
Signed-off-by: NBesar Wicaksono <bwicaksono@nvidia.com>
Reviewed-by: NSuzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20221116190455.55651-1-bwicaksono@nvidia.comSigned-off-by: NWill Deacon <will@kernel.org>
上级 1830902e
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
config ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU config ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU
tristate "ARM Coresight Architecture PMU" tristate "ARM Coresight Architecture PMU"
depends on ACPI depends on ARM64 && ACPI
depends on ACPI_APMT || COMPILE_TEST depends on ACPI_APMT || COMPILE_TEST
help help
Provides support for performance monitoring unit (PMU) devices Provides support for performance monitoring unit (PMU) devices
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册