diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 14:25:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 14:25:51 -0400 |
commit | e61aca5158a84932cf9fbbcbf8aef9cef63f5026 (patch) | |
tree | 25234bcfe6b13c8a66bdb22eb9eba0a3bbace424 /arch/metag | |
parent | da67db4e55b45690cd283cdbdfa92d3252191108 (diff) | |
parent | 92aef8fbabb4cc8616777ab27d6499a3719c3e4c (diff) |
Merge branch 'kconfig-diet' from Dave Hansen
Merge Kconfig menu diet patches from Dave Hansen:
"I think the "Kernel Hacking" menu has gotten a bit out of hand. It is
over 120 lines long on my system with everything enabled and options
are scattered around it haphazardly.
http://sr71.net/~dave/linux/kconfig-horror.png
Let's try to introduce some sanity. This set takes that 120 lines
down to 55 and makes it vastly easier to find some things. It's a
start.
This set stands on its own, but there is plenty of room for follow-up
patches. The arch-specific debug options still end up getting stuck
in the top-level "kernel hacking" menu. OPTIMIZE_INLINING, for
instance, could obviously go in to the "compiler options" menu, but
the fact that it is defined in arch/ in a separate Kconfig file keeps
it on its own for the moment.
The Signed-off-by's in here look funky. I changed employers while
working on this set, so I have signoffs from both email addresses"
* emailed patches from Dave Hansen <dave@sr71.net>:
hang and lockup detection menu
kconfig: consolidate printk options
group locking debugging options
consolidate compilation option configs
consolidate runtime testing configs
order memory debugging Kconfig options
consolidate per-arch stack overflow debugging options
Diffstat (limited to 'arch/metag')
-rw-r--r-- | arch/metag/Kconfig | 1 | ||||
-rw-r--r-- | arch/metag/Kconfig.debug | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/arch/metag/Kconfig b/arch/metag/Kconfig index dcd94406030e..cfd831c29824 100644 --- a/arch/metag/Kconfig +++ b/arch/metag/Kconfig | |||
@@ -30,6 +30,7 @@ config METAG | |||
30 | select OF | 30 | select OF |
31 | select OF_EARLY_FLATTREE | 31 | select OF_EARLY_FLATTREE |
32 | select SPARSE_IRQ | 32 | select SPARSE_IRQ |
33 | select HAVE_DEBUG_STACKOVERFLOW | ||
33 | 34 | ||
34 | config STACKTRACE_SUPPORT | 35 | config STACKTRACE_SUPPORT |
35 | def_bool y | 36 | def_bool y |
diff --git a/arch/metag/Kconfig.debug b/arch/metag/Kconfig.debug index e45bbf6a7a5d..cb5c92860540 100644 --- a/arch/metag/Kconfig.debug +++ b/arch/metag/Kconfig.debug | |||
@@ -6,13 +6,6 @@ config TRACE_IRQFLAGS_SUPPORT | |||
6 | 6 | ||
7 | source "lib/Kconfig.debug" | 7 | source "lib/Kconfig.debug" |
8 | 8 | ||
9 | config DEBUG_STACKOVERFLOW | ||
10 | bool "Check for stack overflows" | ||
11 | depends on DEBUG_KERNEL | ||
12 | help | ||
13 | This option will cause messages to be printed if free stack space | ||
14 | drops below a certain limit. | ||
15 | |||
16 | config 4KSTACKS | 9 | config 4KSTACKS |
17 | bool "Use 4Kb for kernel stacks instead of 8Kb" | 10 | bool "Use 4Kb for kernel stacks instead of 8Kb" |
18 | depends on DEBUG_KERNEL | 11 | depends on DEBUG_KERNEL |