lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250723071211.622802-1-lukas.bulwahn@redhat.com>
Date: Wed, 23 Jul 2025 09:12:11 +0200
From: Lukas Bulwahn <lbulwahn@...hat.com>
To: Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	Borislav Petkov <bp@...en8.de>,
	Dave Hansen <dave.hansen@...ux.intel.com>,
	x86@...nel.org,
	"H . Peter Anvin" <hpa@...or.com>,
	linux-kernel@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org,
	Lukas Bulwahn <lukas.bulwahn@...hat.com>
Subject: [PATCH] x86: Drop unused and needless config X86_64_SMP

From: Lukas Bulwahn <lukas.bulwahn@...hat.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@...hat.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ