sh: Fix an off-by-1 in FTRACE_SYSCALL_MAX.
[deliverable/linux.git] / arch / sh / include / asm / ftrace.h
index 3c2ede3690d74877465c3564633a0f0cfb05df0d..12f3a31f20af515fca635446b191a5eefb889016 100644 (file)
@@ -4,7 +4,7 @@
 #ifdef CONFIG_FUNCTION_TRACER
 
 #define MCOUNT_INSN_SIZE       4 /* sizeof mcount call */
-#define FTRACE_SYSCALL_MAX     (NR_syscalls - 1)
+#define FTRACE_SYSCALL_MAX     NR_syscalls
 
 #ifndef __ASSEMBLY__
 extern void mcount(void);
This page took 0.041513 seconds and 5 git commands to generate.