]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7454/1: entry: don't bother with syscall tracing on ret_from_fork path
authorWill Deacon <will.deacon@arm.com>
Fri, 6 Jul 2012 14:48:50 +0000 (15:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 9 Jul 2012 16:44:12 +0000 (17:44 +0100)
commit64fa3291dfd3bc9004f0b823ca93b97845f80fb8
tree32858767cf85268a71966da4d5fb5719b4b0b15b
parent4dc4d68799097e4892e49e01e9bbfac0a69215b7
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>
arch/arm/kernel/entry-common.S