Skip to contentSkip to conversation

x86/Kconfig: Remove obsolete config X86_32_SMP

PATCH RESEND Applied Lukas Bulwahn 3 participants 3 messages Nov 28, 2023

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

PATCH RESEND 1/1 x86/Kconfig: Remove obsolete config X86_32_SMP

Commit 0f08c3b22996 ("x86/smp: Reduce code duplication") removes the only use of CONFIG_X86_32_SMP.

Remove the obsolete config X86_32_SMP.

---

I sent this cleanup patch in March 2023 and it did not get any attention:

https://lore.kernel.org/lkml/[email protected]/

It is just minor cleanup, but it also should not cause any issue. This can be quickly checked with grep "X86_32_SMP" . -R and seeing that this is only mentioned in arch/x86/Kconfig in this one definition.

No change here other than rebasing the original patch.

 arch/x86/Kconfig | 4 ----
 1 file changed, 4 deletions(-)
arch/x86/Kconfig +0 -4
index 21890efbfdd8..d7d1ef3d2684 100644
@@ -384,10 +384,6 @@ config HAVE_INTEL_TXT
 	def_bool y
 	depends on INTEL_IOMMU && ACPI
 
-config X86_32_SMP
-	def_bool y
-	depends on X86_32 && SMP
-
 config X86_64_SMP
 	def_bool y
 	depends on X86_64 && SMP
Signature · 1 line
2.17.1
merge bot Applied
#1 lore raw
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:     c64545594daf748422fa083389b062d0a16fb477
Gitweb:        https://git.kernel.org/tip/c64545594daf748422fa083389b062d0a16fb477
Author:        Lukas Bulwahn <[email protected]>
AuthorDate:    Tue, 28 Nov 2023 10:00:16 +01:00
Committer:     Borislav Petkov (AMD) <[email protected]>
CommitterDate: Tue, 28 Nov 2023 13:31:34 +01:00

x86/Kconfig: Remove obsolete config X86_32_SMP

Commit

0f08c3b22996 ("x86/smp: Reduce code duplication")

removed the only use of CONFIG_X86_32_SMP.

Remove the now obsolete config X86_32_SMP too.

---
 arch/x86/Kconfig | 4 ----
 1 file changed, 4 deletions(-)
arch/x86/Kconfig +0 -4
index 3762f41..5a6728d 100644
@@ -384,10 +384,6 @@ config HAVE_INTEL_TXT
 	def_bool y
 	depends on INTEL_IOMMU && ACPI
 
-config X86_32_SMP
-	def_bool y
-	depends on X86_32 && SMP
-
 config X86_64_SMP
 	def_bool y
 	depends on X86_64 && SMP
Reviewed-by on v1 1/1
#2 lore raw
In reply to Lukas Bulwahn
Quoted 6 lines · Lukas Bulwahn

Commit 0f08c3b22996 ("x86/smp: Reduce code duplication") removes the only use of CONFIG_X86_32_SMP.

Remove the obsolete config X86_32_SMP.

Thanks.

Quoted 30 lines

---

I sent this cleanup patch in March 2023 and it did not get any attention:

https://lore.kernel.org/lkml/[email protected]/

It is just minor cleanup, but it also should not cause any issue. This can be quickly checked with grep "X86_32_SMP" . -R and seeing that this is only mentioned in arch/x86/Kconfig in this one definition.

No change here other than rebasing the original patch.

 arch/x86/Kconfig | 4 ----
 1 file changed, 4 deletions(-)
arch/x86/Kconfig +0 -4
index 21890efbfdd8..d7d1ef3d2684 100644
@@ -384,10 +384,6 @@ config HAVE_INTEL_TXT
 	def_bool y
 	depends on INTEL_IOMMU && ACPI
 
-config X86_32_SMP
-	def_bool y
-	depends on X86_32 && SMP
-
 config X86_64_SMP
 	def_bool y
 	depends on X86_64 && SMP
Signature · 1 line
~Randy