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>
diff --git a/arch/sh/lib/mcount.S b/arch/sh/lib/mcount.S
index cb87ef5..71e87f9 100644
--- a/arch/sh/lib/mcount.S
+++ b/arch/sh/lib/mcount.S
@@ -72,7 +72,7 @@
mov.l @r0, r0
tst r0, r0
bf ftrace_stub
-
+
MCOUNT_ENTER()
.globl ftrace_call