[PATCH 04/15] ARM: cpu: prevent recursive dependencies via CPU_SUPPORTS_64BIT_KERNEL
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu May 5 01:01:41 PDT 2022
For ARM, CONFIG_CPU_SUPPORTS_64BIT_KERNEL's only function, along with
CONFIG_SYS_SUPPORTS_64BIT_KERNEL is to control visibility of the 64BIT
symbol. It thus makes no sense to select it from CPU_V8 and it's
actually detrimental, because subarches may want to select
CPU_SUPPORTS_64BIT_KERNEL unconditionally and select CPU_V8 only if
64BIT was chosen. This currently leads to a recursive dependency, so
break this up. No functional change just yet.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
arch/arm/cpu/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig
index 0a493754a418..5639d1eeffc3 100644
--- a/arch/arm/cpu/Kconfig
+++ b/arch/arm/cpu/Kconfig
@@ -87,7 +87,6 @@ config CPU_V7
config CPU_V8
bool
select CPU_64v8
- select CPU_SUPPORTS_64BIT_KERNEL
select ARM_EXCEPTIONS
select GENERIC_FIND_NEXT_BIT
select ARCH_HAS_STACK_DUMP
--
2.30.2
More information about the barebox
mailing list