diff options
author | Will Deacon <will.deacon@arm.com> | 2012-07-06 16:50:14 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-09 18:44:14 +0200 |
commit | ad722541147e6e517a2077e3d944105e7bc4fa8e (patch) | |
tree | d69c7f9399e1407ec3300aa73b2467294972a087 /drivers/mmc/host/sh_mmcif.c | |
parent | ARM: 7455/1: audit: move syscall auditing until after ptrace SIGTRAP handling (diff) | |
download | linux-ad722541147e6e517a2077e3d944105e7bc4fa8e.tar.xz linux-ad722541147e6e517a2077e3d944105e7bc4fa8e.zip |
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 <viro@zeniv.linux.org.uk>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/host/sh_mmcif.c')
0 files changed, 0 insertions, 0 deletions