linux/arch/sparc
Mike Frysinger e7b8e675d9 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 <vapier@gentoo.org>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <1264498803-17278-1-git-send-email-vapier@gentoo.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
2010-02-17 13:07:21 +01:00
..
boot arch/sparc/boot/*.c: Mark various internal functions static 2009-11-15 15:01:40 -08:00
configs sparc: Update defconfigs. 2009-09-16 00:31:26 -07:00
include/asm tracing: Unify arch_syscall_addr() implementations 2010-02-17 13:07:21 +01:00
kernel tracing: Unify arch_syscall_addr() implementations 2010-02-17 13:07:21 +01:00
lib sparc: Stop trying to be so fancy and use __builtin_{memcpy,memset}() 2009-12-10 23:32:10 -08:00
math-emu sparc: Add alignment and emulation fault perf events. 2009-12-11 01:07:53 -08:00
mm sparc: use bitmap_find_next_zero_area 2009-12-16 07:20:19 -08:00
oprofile sparc: using HZ needs an include of linux/param.h 2009-10-05 00:46:08 -07:00
prom sparc64: Fix bootup with mcount in some configs. 2009-09-04 03:39:45 -07:00
Kconfig sparc64: Add syscall tracepoint support. 2009-12-11 00:44:47 -08:00
Kconfig.debug sparc: Use __builtin_object_size() to validate the buffer size for copy_from_user() 2009-12-10 23:05:23 -08:00
Makefile sparc: Set UTS_MACHINE correctly. 2009-12-05 17:17:55 -08:00