OSDN Git Service

perf/arm-cmn: Drop compile-test restriction
authorRobin Murphy <robin.murphy@arm.com>
Fri, 3 Dec 2021 11:44:52 +0000 (11:44 +0000)
committerWill Deacon <will@kernel.org>
Tue, 14 Dec 2021 12:09:27 +0000 (12:09 +0000)
commit82d8ea4b450074e81748830929bbd94eebbaffea
tree9eb8ceecd7b2c4ab92b3c7166f994418f5e852fa
parent6190741c294d1cad15198d5d2f912868434fa492
perf/arm-cmn: Drop compile-test restriction

Although CMN is currently (and overwhelmingly likely to remain) deployed
in arm64-only (modulo userspace) systems, the 64-bit "dependency" for
compile-testing was just laziness due to heavy reliance on readq/writeq
accessors. Since we only need one extra include for robustness in that
regard, let's pull that in, widen the compile-test coverage, and fix up
the smattering of type laziness that that brings to light.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/baee9ee0d0bdad8aaeb70f5a4b98d8fd4b1f5786.1638530442.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/Kconfig
drivers/perf/arm-cmn.c