Re: [PATCH v3] ftrace: unify arch_syscall_addr() implementations

From: Heiko Carstens
Date: Tue Jan 26 2010 - 06:29:38 EST


On Tue, Jan 26, 2010 at 04:40:03AM -0500, Mike Frysinger wrote:
> 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@xxxxxxxxxx>
> Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
> Acked-by: Paul Mundt <lethal@xxxxxxxxxxxx>
> ---
> v3
> - move sys_call_table[] decl to asm/syscall.h
> - unify everyone's arch_syscall_addr() again
> - mention right tracehook requirements
>
> Documentation/trace/ftrace-design.txt | 5 ++---
> arch/s390/include/asm/syscall.h | 7 +++++++
> arch/s390/kernel/ftrace.c | 10 ----------

Acked-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/