* [PATCH] x86: Drop unused and needless config X86_64_SMP
@ 2025-07-23 7:12 Lukas Bulwahn
2025-08-20 16:58 ` [tip: x86/cleanups] x86/kconfig: " tip-bot2 for Lukas Bulwahn
0 siblings, 1 reply; 2+ messages in thread
From: Lukas Bulwahn @ 2025-07-23 7:12 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
H . Peter Anvin, linux-kernel
Cc: kernel-janitors, Lukas Bulwahn
From: Lukas Bulwahn <lukas.bulwahn@redhat.com>
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.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
---
arch/x86/Kconfig | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 66115134b596..afa4077e423f 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -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
--
2.50.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip: x86/cleanups] x86/kconfig: Drop unused and needless config X86_64_SMP
2025-07-23 7:12 [PATCH] x86: Drop unused and needless config X86_64_SMP Lukas Bulwahn
@ 2025-08-20 16:58 ` tip-bot2 for Lukas Bulwahn
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Lukas Bulwahn @ 2025-08-20 16:58 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Lukas Bulwahn, Borislav Petkov (AMD), x86, linux-kernel
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 <lukas.bulwahn@redhat.com>
AuthorDate: Wed, 23 Jul 2025 09:12:11 +02:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
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.
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 | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 58d890f..2eb3bb6 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-20 16:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-23 7:12 [PATCH] x86: Drop unused and needless config X86_64_SMP Lukas Bulwahn
2025-08-20 16:58 ` [tip: x86/cleanups] x86/kconfig: " tip-bot2 for Lukas Bulwahn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).