]> www.infradead.org Git - users/hch/misc.git/commitdiff
x86/kconfig: Drop unused and needless config X86_64_SMP
authorLukas Bulwahn <lukas.bulwahn@redhat.com>
Wed, 23 Jul 2025 07:12:11 +0000 (09:12 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 20 Aug 2025 16:34:56 +0000 (18:34 +0200)
As part of

  38a4968b3190 ("x86/percpu/64: Remove INIT_PER_CPU macros"),

the only use of the config option X86_64_SMP in the kernel tree is removed. As
this config option X86_64_SMP is just equivalent to X86_64 && SMP, the source
code in the tree just uses that expression in the few places where needed. Note
further that this option cannot be explicitly enabled or disabled when
configuring the kernel build configuration.

Drop this needless and unused config option. No functional change.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250723071211.622802-1-lukas.bulwahn@redhat.com
arch/x86/Kconfig

index 58d890fe2100eb6990880bcf5ba600cdefb0a7d1..2eb3bb6fb371381371126107a8944483aca33b03 100644 (file)
@@ -410,10 +410,6 @@ config HAVE_INTEL_TXT
        def_bool y
        depends on INTEL_IOMMU && ACPI
 
-config X86_64_SMP
-       def_bool y
-       depends on X86_64 && SMP
-
 config ARCH_SUPPORTS_UPROBES
        def_bool y