mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
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 <lkp@intel.com> Signed-off-by: Will Deacon <will@kernel.org>
This commit is contained in:
parent
b9f71ab215
commit
f0dbc6d0de
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ config RISCV_PMU_SBI
|
|||
filtering, counter configuration.
|
||||
|
||||
config STARFIVE_STARLINK_PMU
|
||||
depends on ARCH_STARFIVE || COMPILE_TEST
|
||||
depends on ARCH_STARFIVE || (COMPILE_TEST && 64BIT)
|
||||
bool "StarFive StarLink PMU"
|
||||
help
|
||||
Provide support for StarLink Performance Monitor Unit.
|
||||
|
|
Loading…
Reference in a new issue