sh: ftrace: Fix up syscall tracepoint support.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 13 Oct 2009 03:42:48 +0000 (12:42 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 13 Oct 2009 03:42:48 +0000 (12:42 +0900)
commit99222622422ac3398a846645f190109e218c743c
tree60a1c99e9fa6f4457b23170ad060638c51e933d6
parent964f7e5a56814b32c727821de77d22bd7ef782bc
sh: ftrace: Fix up syscall tracepoint support.

Sync up with latest core changes in the syscalls tracing area:

- tracing: Map syscall name to number (syscall_name_to_nr())
- tracing: Call arch_init_ftrace_syscalls at boot
- tracing: add support tracepoint ids (set_syscall_{enter,exit}_id())

Taken from the s390 change.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/ftrace.c