Searched hist:c68e3206862f647117a46a73af76764d750c05bd (Results 1 – 1 of 1) sorted by relevance
/linux/arch/sh/include/asm/ |
H A D | ftrace.h | diff c68e3206862f647117a46a73af76764d750c05bd Tue Aug 25 11:39:33 CEST 2009 Paul Mundt <lethal@linux-sh.org> 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>
|