Skip to contentSkip to conversation

x86/mm: keep the PROCESSOR_SELECT menu together

PATCH Superseded Randy Dunlap 1 participant 2 messages May 17 x86

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/mm: keep the PROCESSOR_SELECT menu together

Having a stray kconfig symbol in the middle of the PROCESSOR_SELECT menu (this symbol plus its dependent symbols) causes the menu dependencies not to be displayed correctly in gconfig and xconfig.
(It seems not to matter in menuconfig and nconfig.)

Move the BROADCAST_TLB_FLUSH symbol away from the PROCESSOR_SELECT menu so that the list of processors is displayed correctly.

Fixes 767ae437a32d ("x86/mm: Add INVLPGB feature and Kconfig entry")

---
Cc: Rik van Riel <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: [email protected]

 arch/x86/Kconfig.cpu |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/Kconfig.cpu +4 -4
@@ -302,10 +302,6 @@ menuconfig PROCESSOR_SELECT
 	  This lets you choose what x86 vendor support code your kernel
 	  will include.
 
-config BROADCAST_TLB_FLUSH
-	def_bool y
-	depends on CPU_SUP_AMD && 64BIT
-
 config CPU_SUP_INTEL
 	default y
 	bool "Support Intel processors" if PROCESSOR_SELECT
@@ -412,3 +408,7 @@ config CPU_SUP_VORTEX_32
 	  makes the kernel a tiny bit smaller.
 
 	  If unsure, say N.
+
+config BROADCAST_TLB_FLUSH
+	def_bool y
+	depends on CPU_SUP_AMD && 64BIT
#1 lore raw
Quoted 4 lines · Randy Dunlap

Having a stray kconfig symbol in the middle of the PROCESSOR_SELECT menu (this symbol plus its dependent symbols) causes the menu dependencies not to be displayed correctly in gconfig and xconfig.
(It seems not to matter in menuconfig and nconfig.)

That parenthetical remark is incorrect. It does affect the menu in menuconfig and nconfig.

Quoted 37 lines

Move the BROADCAST_TLB_FLUSH symbol away from the PROCESSOR_SELECT menu so that the list of processors is displayed correctly.

Fixes 767ae437a32d ("x86/mm: Add INVLPGB feature and Kconfig entry")

---
Cc: Rik van Riel <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: [email protected]

 arch/x86/Kconfig.cpu |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/Kconfig.cpu +4 -4
@@ -302,10 +302,6 @@ menuconfig PROCESSOR_SELECT
 	  This lets you choose what x86 vendor support code your kernel
 	  will include.
 
-config BROADCAST_TLB_FLUSH
-	def_bool y
-	depends on CPU_SUP_AMD && 64BIT
-
 config CPU_SUP_INTEL
 	default y
 	bool "Support Intel processors" if PROCESSOR_SELECT
@@ -412,3 +408,7 @@ config CPU_SUP_VORTEX_32
 	  makes the kernel a tiny bit smaller.
 
 	  If unsure, say N.
+
+config BROADCAST_TLB_FLUSH
+	def_bool y
+	depends on CPU_SUP_AMD && 64BIT
Signature · 1 line
~Randy