diff options
author | Matt Fleming <matt@console-pimps.org> | 2009-06-28 09:05:44 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-07-06 06:53:53 -0400 |
commit | c1340c053be7a43d837a3acb352d5008be865a55 (patch) | |
tree | b88104b3a2373d58465057eae38885b66315b3c0 /arch/sh/Kconfig | |
parent | ca0d17277fd101ce4878f92b398b6ab71fb2c287 (diff) |
sh: Define HAVE_FUNCTION_TRACE_MCOUNT_TEST
Enable HAVE_FUNCTION_TRACE_MCOUNT_TEST and test the value of
function_trace_stop from our assembly code as opposed to using the
generic C function. This should optimise our mcount/ftrace code path.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index e2bdd7b94fd9..801a4a79ffe3 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -31,6 +31,7 @@ config SUPERH32 | |||
31 | select HAVE_FUNCTION_TRACER | 31 | select HAVE_FUNCTION_TRACER |
32 | select HAVE_FTRACE_MCOUNT_RECORD | 32 | select HAVE_FTRACE_MCOUNT_RECORD |
33 | select HAVE_DYNAMIC_FTRACE | 33 | select HAVE_DYNAMIC_FTRACE |
34 | select HAVE_FUNCTION_TRACE_MCOUNT_TEST | ||
34 | select HAVE_ARCH_KGDB | 35 | select HAVE_ARCH_KGDB |
35 | select ARCH_HIBERNATION_POSSIBLE if MMU | 36 | select ARCH_HIBERNATION_POSSIBLE if MMU |
36 | 37 | ||