aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-04-16 18:25:01 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:25:01 -0400
commit36c1104e309fe93375e67cdbdb2a980f23965f3b (patch)
tree8efee0a8cbc23668bd9735b67e2674c64914a56c /arch/x86_64
parentd61915da63e2ef03d9034e3b2ec7d8cca55d7584 (diff)
[PATCH] x86_64: Minor microoptimization in syscall entry slow path
Minor microoptimization in syscall entry slow path Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/kernel/entry.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86_64/kernel/entry.S b/arch/x86_64/kernel/entry.S
index e126284db7a8..053d6e80c31f 100644
--- a/arch/x86_64/kernel/entry.S
+++ b/arch/x86_64/kernel/entry.S
@@ -302,9 +302,7 @@ int_very_careful:
302 leaq 8(%rsp),%rdi # &ptregs -> arg1 302 leaq 8(%rsp),%rdi # &ptregs -> arg1
303 call syscall_trace_leave 303 call syscall_trace_leave
304 popq %rdi 304 popq %rdi
305 btr $TIF_SYSCALL_TRACE,%edi 305 andl $~(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT|_TIF_SINGLESTEP),%edi
306 btr $TIF_SYSCALL_AUDIT,%edi
307 btr $TIF_SINGLESTEP,%edi
308 jmp int_restore_rest 306 jmp int_restore_rest
309 307
310int_signal: 308int_signal: