perf: starfive: Only allow COMPILE_TEST for 64-bit architectures
authorWill Deacon <will@kernel.org>
Tue, 5 Mar 2024 10:56:49 +0000 (10:56 +0000)
committerWill Deacon <will@kernel.org>
Tue, 5 Mar 2024 10:56:49 +0000 (10:56 +0000)
commitf0dbc6d0de38df42184776aa8564c12ceb6f1d61
treee29cb6a57605d7477bb8dccf254fa29b145758c8
parentb9f71ab2152e5b344c02eb3ff43637162aaf29e6
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>
drivers/perf/Kconfig