diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2011-05-24 20:13:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 11:39:54 -0400 |
commit | 5ca43f6c3b365024d889bc77064bb331f5a72a45 (patch) | |
tree | c22cf20dc33d85770b88c117fd67b33c7bd7099d /arch/um | |
parent | c84598bbfa756b7d042da31aa4e198ae866a6c7d (diff) |
lib: consolidate DEBUG_STACK_USAGE option
Most arches define CONFIG_DEBUG_STACK_USAGE exactly the same way. Move it
to lib/Kconfig.debug so each arch doesn't have to define it. This
obviously makes the option generic, but that's fine because the config is
already used in generic code.
It's not obvious to me that sysrq-P actually does anything caution by
keeping the most inclusive wording.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Richard Weinberger <richard@nod.at>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/Kconfig.debug | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/um/Kconfig.debug b/arch/um/Kconfig.debug index 85c86edd1e67..68205fd3b08c 100644 --- a/arch/um/Kconfig.debug +++ b/arch/um/Kconfig.debug | |||
@@ -28,16 +28,6 @@ config GCOV | |||
28 | If you're involved in UML kernel development and want to use gcov, | 28 | If you're involved in UML kernel development and want to use gcov, |
29 | say Y. If you're unsure, say N. | 29 | say Y. If you're unsure, say N. |
30 | 30 | ||
31 | config DEBUG_STACK_USAGE | ||
32 | bool "Stack utilization instrumentation" | ||
33 | default N | ||
34 | help | ||
35 | Track the maximum kernel stack usage - this will look at each | ||
36 | kernel stack at process exit and log it if it's the deepest | ||
37 | stack seen so far. | ||
38 | |||
39 | This option will slow down process creation and destruction somewhat. | ||
40 | |||
41 | config EARLY_PRINTK | 31 | config EARLY_PRINTK |
42 | bool "Early printk" | 32 | bool "Early printk" |
43 | default y | 33 | default y |