diff options
author | Mark Brown <broonie@kernel.org> | 2023-01-31 00:18:46 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2023-02-01 17:51:19 +0000 |
commit | 82c5acefc9cb8478413610acf5904cec73ddd343 (patch) | |
tree | 1f1ab1e573e4fa5fab144b842d4184547f8c0f53 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | ad16d4cf0b4f88b54085036102476588ea0e7626 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions