]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/entry_32.S
x86 ptrace: unify TIF_SINGLESTEP
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / entry_32.S
index 6bc07f0f1202eeb1eaac0b55064acad7f355371a..0ad987d02b722c8dfab8077990ca24fd3b70d732 100644 (file)
@@ -383,10 +383,6 @@ syscall_exit:
                                        # setting need_resched or sigpending
                                        # between sampling and the iret
        TRACE_IRQS_OFF
-       testl $X86_EFLAGS_TF,PT_EFLAGS(%esp)    # If tracing set singlestep flag on exit
-       jz no_singlestep
-       orl $_TIF_SINGLESTEP,TI_flags(%ebp)
-no_singlestep:
        movl TI_flags(%ebp), %ecx
        testw $_TIF_ALLWORK_MASK, %cx   # current->work
        jne syscall_exit_work