summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/ftrace.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-24 22:48:27 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-24 22:48:27 +0900
commitf13327864f94c3a0e6acca923df537d20059639f (patch)
treef1df9a1c198592de4c63bf5f80319c6526e0582c /arch/sh/include/asm/ftrace.h
parent56fd1260a8de3738034588c6e32262960c5b2660 (diff)
sh: Move the FTRACE_SYSCALL_MAX definition in to asm/ftrace.h.
Needed by ftrace changes in -tip. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/ftrace.h')
-rw-r--r--arch/sh/include/asm/ftrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/ftrace.h b/arch/sh/include/asm/ftrace.h
index 7e0bcc4d4a9..3c2ede3690d 100644
--- a/arch/sh/include/asm/ftrace.h
+++ b/arch/sh/include/asm/ftrace.h
@@ -4,6 +4,7 @@
#ifdef CONFIG_FUNCTION_TRACER
#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
+#define FTRACE_SYSCALL_MAX (NR_syscalls - 1)
#ifndef __ASSEMBLY__
extern void mcount(void);