]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: cpufeature: Remove redundant call to id_aa64pfr0_32bit_el0()
authorWill Deacon <will@kernel.org>
Tue, 21 Apr 2020 14:29:18 +0000 (15:29 +0100)
committerWill Deacon <will@kernel.org>
Tue, 28 Apr 2020 13:23:30 +0000 (14:23 +0100)
commit60641aa8f0d7c52ddcdf8bf715a29e90096b4ca4
treee49ce0aa0eb2d38521eca5803b3655908eb3b28a
parent4328dcec317e59d6996efc4969a25f985a62ff5a
arm64: cpufeature: Remove redundant call to id_aa64pfr0_32bit_el0()

There's no need to call id_aa64pfr0_32bit_el0() twice because the
sanitised value of ID_AA64PFR0_EL1 has already been updated for the CPU
being onlined.

Remove the redundant function call.

Tested-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20200421142922.18950-5-will@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/cpufeature.c