]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/Kconfig: Always enable ARCH_SPARSEMEM_ENABLE
authorMateusz Jończyk <mat.jonczyk@o2.pl>
Fri, 21 Mar 2025 20:48:44 +0000 (21:48 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 22 Mar 2025 07:02:16 +0000 (08:02 +0100)
commit31be5041dca37a67c11042678c55804e964e5145
treeba91a5623a8820a28010e94621cfbef040a4399c
parent9232c49ff31c40fa5cf72acf74c4aa251ed4811c
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:

  6ea3038648da ("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: 6ea3038648da ("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
arch/x86/Kconfig