Signed-off-by: Paolo 'Blaisorblade' Giarrusso --- clean-linux-2.6.11-paolo/arch/i386/kernel/entry.S | 8 +------- 1 files changed, 1 insertion(+), 7 deletions(-) diff -puN arch/i386/kernel/entry.S~sysemu-cleanup-speedup arch/i386/kernel/entry.S --- clean-linux-2.6.11/arch/i386/kernel/entry.S~sysemu-cleanup-speedup 2005-07-10 16:56:19.000000000 +0200 +++ clean-linux-2.6.11-paolo/arch/i386/kernel/entry.S 2005-07-10 16:56:19.000000000 +0200 @@ -305,18 +305,12 @@ syscall_trace_entry: xorl %edx,%edx call do_syscall_trace cmpl $0, %eax - jne syscall_skip # ret != 0 -> running under PTRACE_SYSEMU, + jne resume_userspace # ret != 0 -> running under PTRACE_SYSEMU, # so must skip actual syscall movl ORIG_EAX(%esp), %eax cmpl $(nr_syscalls), %eax jnae syscall_call jmp syscall_exit -syscall_skip: - cli # make sure we don't miss an interrupt - # setting need_resched or sigpending - # between sampling and the iret - movl TI_flags(%ebp), %ecx - jmp work_pending # perform syscall exit tracing ALIGN _