diff options
author | Andi Kleen <ak@suse.de> | 2005-04-16 15:25:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 15:25:01 -0700 |
commit | 36c1104e309fe93375e67cdbdb2a980f23965f3b (patch) | |
tree | 8efee0a8cbc23668bd9735b67e2674c64914a56c | |
parent | d61915da63e2ef03d9034e3b2ec7d8cca55d7584 (diff) | |
download | kernel_samsung_smdk4412-36c1104e309fe93375e67cdbdb2a980f23965f3b.tar.gz kernel_samsung_smdk4412-36c1104e309fe93375e67cdbdb2a980f23965f3b.tar.bz2 kernel_samsung_smdk4412-36c1104e309fe93375e67cdbdb2a980f23965f3b.zip |
[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>
-rw-r--r-- | arch/x86_64/kernel/entry.S | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86_64/kernel/entry.S b/arch/x86_64/kernel/entry.S index e126284db7a..053d6e80c31 100644 --- a/arch/x86_64/kernel/entry.S +++ b/arch/x86_64/kernel/entry.S @@ -302,9 +302,7 @@ int_very_careful: leaq 8(%rsp),%rdi # &ptregs -> arg1 call syscall_trace_leave popq %rdi - btr $TIF_SYSCALL_TRACE,%edi - btr $TIF_SYSCALL_AUDIT,%edi - btr $TIF_SINGLESTEP,%edi + andl $~(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT|_TIF_SINGLESTEP),%edi jmp int_restore_rest int_signal: |