arm64: cpufeature: Use defined macro instead of magic numbers
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Fri, 16 Jul 2021 05:58:09 +0000 (13:58 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 30 Jul 2021 15:21:47 +0000 (16:21 +0100)
commitff85f10ba8e4d3b4c6f8f5c9f6b47f3e80a067f1
tree74927bf78862ed40d97e5c8c37981c5c3739a1ca
parent79d82cbcbb3d2a56c009ad6a6df92c5dee061dad
arm64: cpufeature: Use defined macro instead of magic numbers

Use defined macro to simplify the code and make it more readable.

Cc: Marc Zyngier <maz@kernel.org>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Link: https://lore.kernel.org/r/1626415089-57584-1-git-send-email-zhangshaokun@hisilicon.com
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpufeature.c