Skip to content

Commit 31be504

Browse files
matjonIngo Molnar
authored andcommitted
x86/Kconfig: Always enable ARCH_SPARSEMEM_ENABLE
It appears that (X86_64 || X86_32) is always true on x86. This logical OR directive was introduced in: 6ea3038 ("arch/x86: remove depends on CONFIG_EXPERIMENTAL") By (EXPERIMENTAL && X86_32) turning into (X86_32). Since this change was an identity transformation, nobody noticed that the condition turned into 'true'. [ mingo: Updated changelog ] Fixes: 6ea3038 ("arch/x86: remove depends on CONFIG_EXPERIMENTAL") Signed-off-by: Mateusz Jończyk <mat.jonczyk@o2.pl> Signed-off-by: David Heideberg <david@ixit.cz> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: https://lore.kernel.org/r/20250321-x86_x2apic-v3-2-b0cbaa6fa338@ixit.cz
1 parent 9232c49 commit 31be504

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,6 @@ config ARCH_FLATMEM_ENABLE
15631563

15641564
config ARCH_SPARSEMEM_ENABLE
15651565
def_bool y
1566-
depends on X86_64 || NUMA || X86_32
15671566
select SPARSEMEM_STATIC if X86_32
15681567
select SPARSEMEM_VMEMMAP_ENABLE if X86_64
15691568

0 commit comments

Comments
 (0)