tree 8efee0a8cbc23668bd9735b67e2674c64914a56c
parent d61915da63e2ef03d9034e3b2ec7d8cca55d7584
author Andi Kleen <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:25:01 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:25:01 -0700

[PATCH] x86_64: Minor microoptimization in syscall entry slow path

Minor microoptimization in syscall entry slow path

Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>

 x86_64/kernel/entry.S |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

Index: arch/x86_64/kernel/entry.S
===================================================================
--- 1ce31b822346bb65864813d774a67037c7d3b684/arch/x86_64/kernel/entry.S  
(mode:100644 sha1:e126284db7a849b89c1cd1e3e4fb2753262d3b17)
+++ 8efee0a8cbc23668bd9735b67e2674c64914a56c/arch/x86_64/kernel/entry.S  
(mode:100644 sha1:053d6e80c31f6e523841fb0f63dd59aa2886e848)
@@ -302,9 +302,7 @@
        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:
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to