arm64/cpufeature: Use helper for ECV CNTPOFF cpufeature
authorMark Brown <broonie@kernel.org>
Tue, 23 May 2023 21:49:00 +0000 (22:49 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 26 May 2023 09:23:32 +0000 (10:23 +0100)
commite34f78b970ea51d17841f6168e50223efc690c76
treee676c8d290ca41f37536744407340ff87d5a8f0e
parent44c026a73be8038f03dbdeef028b642880cf1511
arm64/cpufeature: Use helper for ECV CNTPOFF cpufeature

The newly added support for ECV CNTPOFF open codes the recently added
helper ARM64_CPUID_FIELDS(), make use of the helper.  No functional
change.

Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20230523-arm64-ecv-helper-v1-1-506dfb5fb199@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpufeature.c