sh: Define HAVE_FUNCTION_TRACE_MCOUNT_TEST
authorMatt Fleming <matt@console-pimps.org>
Sun, 28 Jun 2009 13:05:44 +0000 (14:05 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 6 Jul 2009 10:53:53 +0000 (19:53 +0900)
commitc1340c053be7a43d837a3acb352d5008be865a55
treeb88104b3a2373d58465057eae38885b66315b3c0
parentca0d17277fd101ce4878f92b398b6ab71fb2c287
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>
arch/sh/Kconfig
arch/sh/lib/mcount.S