Skip to contentSkip to conversation

x86: Drop unused and needless config X86_64_SMP

PATCH Applied Lukas Bulwahn 2 participants 2 messages Jul 23, 2025 – Aug 20, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: Drop unused and needless config X86_64_SMP

From: Lukas Bulwahn <[email protected]>

As part of the commit 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.

---
 arch/x86/Kconfig | 4 ----
 1 file changed, 4 deletions(-)
arch/x86/Kconfig +0 -4
index 66115134b596..afa4077e423f 100644
@@ -411,10 +411,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
 
Signature · 1 line
2.50.1
merge bot Applied
#1 lore raw

[tip: x86/cleanups] x86/kconfig: Drop unused and needless config X86_64_SMP

The following commit has been merged into the x86/cleanups branch of tip:

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     03777dbd8c9d825fc6f792e4e85be9e4ce4c7f8f
Gitweb:        https://git.kernel.org/tip/03777dbd8c9d825fc6f792e4e85be9e4ce4c7f8f
Author:        Lukas Bulwahn <[email protected]>
AuthorDate:    Wed, 23 Jul 2025 09:12:11 +02:00
Committer:     Borislav Petkov (AMD) <[email protected]>
CommitterDate: Wed, 20 Aug 2025 18:34:56 +02:00

x86/kconfig: Drop unused and needless config X86_64_SMP

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.

---
 arch/x86/Kconfig | 4 ----
 1 file changed, 4 deletions(-)
arch/x86/Kconfig +0 -4
index 58d890f..2eb3bb6 100644
@@ -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