Skip to content

Commit 252309a

Browse files
Marc Zyngierwilldeacon
authored andcommitted
ARM: Make CONFIG_CPU_V7 valid for 32bit ARMv8 implementations
ARMv8 is a superset of ARMv7, and all the ARMv8 features are discoverable with a set of ID registers. It means that we can use CPU_V7 to guard ARMv8 features at compile time. This commit simply amends the CPU_V7 configuration symbol comment to reflect that CPU_V7 also covers ARMv8. Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Zaid Al-Bassam <[email protected]> Tested-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent b3a0708 commit 252309a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ config CPU_V6K
403403
select CPU_THUMB_CAPABLE
404404
select CPU_TLB_V6 if MMU
405405

406-
# ARMv7
406+
# ARMv7 and ARMv8 architectures
407407
config CPU_V7
408408
bool
409409
select CPU_32v6K

0 commit comments

Comments
 (0)