diff options
author | Will Deacon <will.deacon@arm.com> | 2012-07-06 15:48:50 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-09 17:44:12 +0100 |
commit | 64284a9f8a91b2f1af577f78fabe05d8072cb6e6 (patch) | |
tree | 32858767cf85268a71966da4d5fb5719b4b0b15b /arch/arm/kernel/leds.c | |
parent | 8f827a1468c51c82443a78d15e67fe92022cd5b9 (diff) | |
download | blackbird-op-linux-64284a9f8a91b2f1af577f78fabe05d8072cb6e6.tar.gz blackbird-op-linux-64284a9f8a91b2f1af577f78fabe05d8072cb6e6.zip |
ARM: 7454/1: entry: don't bother with syscall tracing on ret_from_fork path
ret_from_fork is setup for a freshly spawned child task via copy_thread,
called from copy_process. The latter function clears TIF_SYSCALL_TRACE
and also resets the child task's audit_context to NULL, meaning that
there is little point invoking the system call tracing routines.
Furthermore, getting hold of the syscall number is a complete pain and
it looks like the current code doesn't even bother.
This patch removes the syscall tracing checks from ret_from_fork.
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 'arch/arm/kernel/leds.c')
0 files changed, 0 insertions, 0 deletions