aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig.debug
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-07-11 06:56:58 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-07-11 06:56:58 -0400
commit473d1cf4ee623b043790838bcf77e77958840bf2 (patch)
treee1e582134ac96dbb21bd26c6c3ba5bba341e5e50 /arch/sh/Kconfig.debug
parentf686d8c11c61143b9705ed38d8cd26b0643902a4 (diff)
sh: Decouple mcount from ftrace.
This adds a general CONFIG_MCOUNT in order to permit mcount generation without ftrace support. This is primarily for allowing platforms to enable aggressive stack overflow checking without having to enable ftrace support. Based on the sparc64 implementation. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig.debug')
-rw-r--r--arch/sh/Kconfig.debug5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug
index 52a132c24aab..75b5f4e06670 100644
--- a/arch/sh/Kconfig.debug
+++ b/arch/sh/Kconfig.debug
@@ -134,4 +134,9 @@ config STACK_DEBUG
134 call and will therefore incur a major performance hit. Most 134 call and will therefore incur a major performance hit. Most
135 users should say N. 135 users should say N.
136 136
137config MCOUNT
138 def_bool y
139 depends on SUPERH32
140 depends on STACK_DEBUG || FUNCTION_TRACER
141
137endmenu 142endmenu