From: Will Deacon Date: Fri, 6 Jul 2012 14:48:50 +0000 (+0100) Subject: ARM: 7454/1: entry: don't bother with syscall tracing on ret_from_fork path X-Git-Tag: v3.6-rc1~14^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64284a9f8a91b2f1af577f78fabe05d8072cb6e6;p=pandora-kernel.git 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 Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed