arm64/cpufeature: Always use symbolic name for feature value in hwcaps
authorMark Brown <broonie@kernel.org>
Tue, 31 Jan 2023 00:18:46 +0000 (00:18 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 1 Feb 2023 17:51:19 +0000 (17:51 +0000)
commit82c5acefc9cb8478413610acf5904cec73ddd343
tree1f1ab1e573e4fa5fab144b842d4184547f8c0f53
parentad16d4cf0b4f88b54085036102476588ea0e7626
arm64/cpufeature: Always use symbolic name for feature value in hwcaps

Our table of hwcaps sometimes uses the defined constant to specify the
enumeration value they are attempting to match but in some cases an
unadorned number is used. In preparation for using helper macros to to
specify the hwcaps less verbosely replace the magic numbers with their
constants, this will hopefully make the conversion to helper macros
easier to review.

There should be no functional effect from this change, a check of the
generate .rodata showed no differences.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221207-arm64-sysreg-helpers-v4-4-25b6b3fb9d18@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpufeature.c