diff options
author | Mike Frysinger <[email protected]> | 2010-01-26 04:40:03 -0500 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2010-02-17 13:07:21 +0100 |
commit | e7b8e675d9c71b868b66f62f725a948047514719 (patch) | |
tree | 77877e2470148dc47653408c4b624734a8f14239 /tools/perf/util/trace-event-scripting.c | |
parent | ea2c68a08fedb5053ba312d661e47df9f4d72411 (diff) |
tracing: Unify arch_syscall_addr() implementations
Most implementations of arch_syscall_addr() are the same, so create a
default version in common code and move the one piece that differs (the
syscall table) to asm/syscall.h. New arch ports don't have to waste
time copying & pasting this simple function.
The s390/sparc versions need to be different, so document why.
Signed-off-by: Mike Frysinger <[email protected]>
Acked-by: David S. Miller <[email protected]>
Acked-by: Paul Mundt <[email protected]>
Acked-by: Heiko Carstens <[email protected]>
Cc: Steven Rostedt <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions