sh: Fix an off-by-1 in FTRACE_SYSCALL_MAX.
commitc68e3206862f647117a46a73af76764d750c05bd
authorPaul Mundt <lethal@linux-sh.org>
Tue, 25 Aug 2009 09:39:33 +0000 (25 18:39 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 25 Aug 2009 09:39:33 +0000 (25 18:39 +0900)
tree82e919a69f482d62a991f272cd7123930050a5b3
parent12cceb6251c2cd23e936b25eca66be99ba41b081
sh: Fix an off-by-1 in FTRACE_SYSCALL_MAX.

This is supposed to be the equivalent of __NR_syscalls, not
__NR_syscalls -1. The x86 code this was based on had simply fallen
out of sync at the time this was implemented. Fix it up now.

As a result, tracing of __NR_perf_counter_open works as advertised.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/ftrace.h