]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
x86/cpu: Keep the PROCESSOR_SELECT menu together
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 19 May 2026 17:35:26 +0000 (10:35 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 1 Jun 2026 20:44:56 +0000 (13:44 -0700)
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 "make {menu,n,g,x}config".

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")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260519173526.10985-1-rdunlap@infradead.org
arch/x86/Kconfig.cpu

index d7ba9219cb47dceba8fa46f34e176805c46d2cf3..df003a42d25a6d410991c1052786a416641f5b51 100644 (file)
@@ -334,10 +334,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
@@ -458,3 +454,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