summaryrefslogtreecommitdiffstats
path: root/arch/sh/lib
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2009-07-06 13:16:33 +0200
committerPaul Mundt <lethal@linux-sh.org>2009-07-06 13:16:33 +0200
commitc652d780c9cf7f860141de232b37160fe013feca (patch)
tree110c95ee2b66a7c9b032be8edad36f9b53f82af0 /arch/sh/lib
parentsh: Define HAVE_FUNCTION_TRACE_MCOUNT_TEST (diff)
downloadlinux-c652d780c9cf7f860141de232b37160fe013feca.tar.xz
linux-c652d780c9cf7f860141de232b37160fe013feca.zip
sh: Add ftrace syscall tracing support
Now that I've added TIF_SYSCALL_FTRACE the thread flags do not fit into a single byte any more. Code testing them now needs to be aware of the upper and lower bytes. Signed-off-by: Matt Fleming <matt@console-pimps.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/lib')
-rw-r--r--arch/sh/lib/mcount.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/lib/mcount.S b/arch/sh/lib/mcount.S
index cb87ef580b31..71e87f9b4fda 100644
--- a/arch/sh/lib/mcount.S
+++ b/arch/sh/lib/mcount.S
@@ -72,7 +72,7 @@ ftrace_caller:
mov.l @r0, r0
tst r0, r0
bf ftrace_stub
-
+
MCOUNT_ENTER()
.globl ftrace_call