From: Will Deacon Date: Fri, 6 Jul 2012 14:50:14 +0000 (+0100) Subject: ARM: 7456/1: ptrace: provide separate functions for tracing syscall {entry,exit} X-Git-Tag: v3.6-rc1~14^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad722541147e6e517a2077e3d944105e7bc4fa8e;p=pandora-kernel.git ARM: 7456/1: ptrace: provide separate functions for tracing syscall {entry,exit} The syscall_trace on ARM takes a `why' parameter to indicate whether or not we are entering or exiting a system call. This can be confusing for people looking at the code since (a) it conflicts with the why register alias in the entry assembly code and (b) it is not immediately clear what it represents. This patch splits up the syscall_trace function into separate wrappers for syscall entry and exit, allowing the low-level syscall handling code to branch to the appropriate function. Reported-by: Al Viro Reviewed-by: Catalin Marinas Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed