Commit f0dbc6d0 authored by Will Deacon's avatar Will Deacon

perf: starfive: Only allow COMPILE_TEST for 64-bit architectures

The kbuild robot exploded while wasting its time building the Starfive
PMU driver for the 32-bit PA-RISC and Hexagon architectures.

Adjust the Kconfig dependencies so that COMPILE_TEST is only applicable
for 64-bit architectures (which implement writeq()).
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent b9f71ab2
...@@ -87,7 +87,7 @@ config RISCV_PMU_SBI ...@@ -87,7 +87,7 @@ config RISCV_PMU_SBI
filtering, counter configuration. filtering, counter configuration.
config STARFIVE_STARLINK_PMU config STARFIVE_STARLINK_PMU
depends on ARCH_STARFIVE || COMPILE_TEST depends on ARCH_STARFIVE || (COMPILE_TEST && 64BIT)
bool "StarFive StarLink PMU" bool "StarFive StarLink PMU"
help help
Provide support for StarLink Performance Monitor Unit. Provide support for StarLink Performance Monitor Unit.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment