]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: cpufeature: add POE to cpucap_is_possible()
authorJoey Gouly <joey.gouly@arm.com>
Tue, 8 Oct 2024 14:01:21 +0000 (15:01 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 16 Oct 2024 14:30:53 +0000 (15:30 +0100)
commit9c4a25140dee5356254ddb921086c49fb93ba952
tree4495044796300a81b4decffdf691a534866b0cf5
parent8ef41786d88fd429829bd143323168a9468e3be0
arm64: cpufeature: add POE to cpucap_is_possible()

Since de66cb37ab6 ("arm64: Add cpucap_is_possible()"),
alternative_has_cap_unlikely() includes the IS_ENABLED() check.

Add CONFIG_ARM64_POE to cpucap_is_possible() to avoid the explicit check.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Will Deacon <will@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20241008140121.2774348-1-joey.gouly@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpucaps.h
arch/arm64/include/asm/cpufeature.h