aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-04-30 18:28:45 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 20:04:09 -0400
commit657a52095fa3e8560d41047851f4e73a410f3ed2 (patch)
treeb53e090824a342394dcfbb0e56047a3c0ac9e900 /init
parent966f3096b18bf13385799ef745e114a8f292ed69 (diff)
init/Kconfig: re-order CONFIG_EXPERT options to fix menuconfig display
The kconfig language requires that dependent options all follow the menuconfig symbol in order to be collapsed below it. Recently some hidden options were added below the EXPERT menuconfig, but did not depend on EXPERT (because hidden options can't). This broke the display. So re-order all these options, and while we're here stick the PCI quirks under the EXPERT menu (since it isn't sitting with any related options). Before this commit, we get: [*] Configure standard kernel features (expert users) ---> [ ] Sysctl syscall support [*] Load all symbols for debugging/ksymoops ... [ ] Embedded system Now we get the older (and correct) behavior: [*] Configure standard kernel features (expert users) ---> [ ] Embedded system And if you go into the expert menu you get the expert options: [ ] Sysctl syscall support [*] Load all symbols for debugging/ksymoops ... Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Cc: zhangwei(Jovi) <jovi.zhangwei@huawei.com> Cc: Michal Marek <mmarek@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig80
1 files changed, 40 insertions, 40 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 4367e1379002..a76d13189e47 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1221,6 +1221,35 @@ config SYSCTL
1221config ANON_INODES 1221config ANON_INODES
1222 bool 1222 bool
1223 1223
1224config HAVE_UID16
1225 bool
1226
1227config SYSCTL_EXCEPTION_TRACE
1228 bool
1229 help
1230 Enable support for /proc/sys/debug/exception-trace.
1231
1232config SYSCTL_ARCH_UNALIGN_NO_WARN
1233 bool
1234 help
1235 Enable support for /proc/sys/kernel/ignore-unaligned-usertrap
1236 Allows arch to define/use @no_unaligned_warning to possibly warn
1237 about unaligned access emulation going on under the hood.
1238
1239config SYSCTL_ARCH_UNALIGN_ALLOW
1240 bool
1241 help
1242 Enable support for /proc/sys/kernel/unaligned-trap
1243 Allows arches to define/use @unaligned_enabled to runtime toggle
1244 the unaligned access emulation.
1245 see arch/parisc/kernel/unaligned.c for reference
1246
1247config HOTPLUG
1248 def_bool y
1249
1250config HAVE_PCSPKR_PLATFORM
1251 bool
1252
1224menuconfig EXPERT 1253menuconfig EXPERT
1225 bool "Configure standard kernel features (expert users)" 1254 bool "Configure standard kernel features (expert users)"
1226 # Unhide debug options, to make the on-by-default options visible 1255 # Unhide debug options, to make the on-by-default options visible
@@ -1231,9 +1260,6 @@ menuconfig EXPERT
1231 environments which can tolerate a "non-standard" kernel. 1260 environments which can tolerate a "non-standard" kernel.
1232 Only use this if you really know what you are doing. 1261 Only use this if you really know what you are doing.
1233 1262
1234config HAVE_UID16
1235 bool
1236
1237config UID16 1263config UID16
1238 bool "Enable 16-bit UID system calls" if EXPERT 1264 bool "Enable 16-bit UID system calls" if EXPERT
1239 depends on HAVE_UID16 1265 depends on HAVE_UID16
@@ -1258,26 +1284,6 @@ config SYSCTL_SYSCALL
1258 1284
1259 If unsure say N here. 1285 If unsure say N here.
1260 1286
1261config SYSCTL_EXCEPTION_TRACE
1262 bool
1263 help
1264 Enable support for /proc/sys/debug/exception-trace.
1265
1266config SYSCTL_ARCH_UNALIGN_NO_WARN
1267 bool
1268 help
1269 Enable support for /proc/sys/kernel/ignore-unaligned-usertrap
1270 Allows arch to define/use @no_unaligned_warning to possibly warn
1271 about unaligned access emulation going on under the hood.
1272
1273config SYSCTL_ARCH_UNALIGN_ALLOW
1274 bool
1275 help
1276 Enable support for /proc/sys/kernel/unaligned-trap
1277 Allows arches to define/use @unaligned_enabled to runtime toggle
1278 the unaligned access emulation.
1279 see arch/parisc/kernel/unaligned.c for reference
1280
1281config KALLSYMS 1287config KALLSYMS
1282 bool "Load all symbols for debugging/ksymoops" if EXPERT 1288 bool "Load all symbols for debugging/ksymoops" if EXPERT
1283 default y 1289 default y
@@ -1303,9 +1309,6 @@ config KALLSYMS_ALL
1303 1309
1304 Say N unless you really need all symbols. 1310 Say N unless you really need all symbols.
1305 1311
1306config HOTPLUG
1307 def_bool y
1308
1309config PRINTK 1312config PRINTK
1310 default y 1313 default y
1311 bool "Enable support for printk" if EXPERT 1314 bool "Enable support for printk" if EXPERT
@@ -1344,9 +1347,6 @@ config PCSPKR_PLATFORM
1344 This option allows to disable the internal PC-Speaker 1347 This option allows to disable the internal PC-Speaker
1345 support, saving some memory. 1348 support, saving some memory.
1346 1349
1347config HAVE_PCSPKR_PLATFORM
1348 bool
1349
1350config BASE_FULL 1350config BASE_FULL
1351 default y 1351 default y
1352 bool "Enable full-sized data structures for core" if EXPERT 1352 bool "Enable full-sized data structures for core" if EXPERT
@@ -1418,8 +1418,17 @@ config AIO
1418 default y 1418 default y
1419 help 1419 help
1420 This option enables POSIX asynchronous I/O which may by used 1420 This option enables POSIX asynchronous I/O which may by used
1421 by some high performance threaded applications. Disabling 1421 by some high performance threaded applications. Disabling
1422 this option saves about 7k. 1422 this option saves about 7k.
1423
1424config PCI_QUIRKS
1425 default y
1426 bool "Enable PCI quirk workarounds" if EXPERT
1427 depends on PCI
1428 help
1429 This enables workarounds for various PCI chipset
1430 bugs/quirks. Disable this only if your target machine is
1431 unaffected by PCI quirks.
1423 1432
1424config EMBEDDED 1433config EMBEDDED
1425 bool "Embedded system" 1434 bool "Embedded system"
@@ -1494,15 +1503,6 @@ config VM_EVENT_COUNTERS
1494 on EXPERT systems. /proc/vmstat will only show page counts 1503 on EXPERT systems. /proc/vmstat will only show page counts
1495 if VM event counters are disabled. 1504 if VM event counters are disabled.
1496 1505
1497config PCI_QUIRKS
1498 default y
1499 bool "Enable PCI quirk workarounds" if EXPERT
1500 depends on PCI
1501 help
1502 This enables workarounds for various PCI chipset
1503 bugs/quirks. Disable this only if your target machine is
1504 unaffected by PCI quirks.
1505
1506config SLUB_DEBUG 1506config SLUB_DEBUG
1507 default y 1507 default y
1508 bool "Enable SLUB debugging support" if EXPERT 1508 bool "Enable SLUB debugging support" if EXPERT