Skip to content

Commit f0dbc6d

Browse files
committed
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: kernel test robot <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent b9f71ab commit f0dbc6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/perf/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ config RISCV_PMU_SBI
8787
filtering, counter configuration.
8888

8989
config STARFIVE_STARLINK_PMU
90-
depends on ARCH_STARFIVE || COMPILE_TEST
90+
depends on ARCH_STARFIVE || (COMPILE_TEST && 64BIT)
9191
bool "StarFive StarLink PMU"
9292
help
9393
Provide support for StarLink Performance Monitor Unit.

0 commit comments

Comments
 (0)