[PATCH] init/Kconfig: keep Expert users menu together

From: Randy Dunlap
Date: Wed Jul 06 2016 - 19:07:01 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

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 4d5d5664c9008c30ade92a56f722223d251883d7:
x86: kallsyms: disable absolute percpu symbols on !SMP
Applies-to: Linux 4.7 and 4.6

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
---
init/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- lnx-47-rc6.orig/init/Kconfig
+++ lnx-47-rc6/init/Kconfig
@@ -1458,6 +1458,7 @@ config KALLSYMS_ALL

config KALLSYMS_ABSOLUTE_PERCPU
bool
+ depends on KALLSYMS
default X86_64 && SMP

config KALLSYMS_BASE_RELATIVE