Sfoglia il codice sorgente

init/Kconfig: keep Expert users menu together

The "expert" menu was broken (split) such that all entries in it after
KALLSYMS were displayed in the "General setup" area instead of in the
"Expert users" area.  Fix this by adding one kconfig dependency.

Yes, the Expert users menu is fragile.  Problems like this have happened
several times in the past.  I will attempt to isolate the Expert users
menu if there is interest in that.

Fixes: 4d5d5664c900 ("x86: kallsyms: disable absolute percpu symbols on !SMP")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: stable@vger.kernel.org  # 4.6
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Randy Dunlap 9 anni fa
parent
commit
076501ff6b
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      init/Kconfig

+ 1 - 0
init/Kconfig

@@ -1458,6 +1458,7 @@ config KALLSYMS_ALL
 
 
 config KALLSYMS_ABSOLUTE_PERCPU
 config KALLSYMS_ABSOLUTE_PERCPU
 	bool
 	bool
+	depends on KALLSYMS
 	default X86_64 && SMP
 	default X86_64 && SMP
 
 
 config KALLSYMS_BASE_RELATIVE
 config KALLSYMS_BASE_RELATIVE