tracing/syscalls: Make arch_syscall_addr weak
authorIan Munsie <imunsie@au1.ibm.com>
Thu, 3 Feb 2011 03:27:22 +0000 (14:27 +1100)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 8 Feb 2011 02:26:22 +0000 (21:26 -0500)
commitc763ba06bd9b5db2c46c36276c89103d92d2c604
tree776ce215fc5900e747fb79dc91a160da35f4325c
parent3773b389b6927595512558594d040c1edba46f36
tracing/syscalls: Make arch_syscall_addr weak

Some architectures use non-trivial system call tables and will not work
with the generic arch_syscall_addr code. For example, PowerPC64 uses a
table of twin long longs.

This patch makes the generic arch_syscall_addr weak to allow
architectures with non-trivial system call tables to override it.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
LKML-Reference: <1296703645-18718-4-git-send-email-imunsie@au1.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Documentation/trace/ftrace-design.txt
kernel/trace/trace_syscalls.c