diff options
Diffstat (limited to 'arch/x86/kernel/ptrace.c')
-rw-r--r-- | arch/x86/kernel/ptrace.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index a166c960bc9e..36998e0c3fc4 100644 --- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c | |||
@@ -747,9 +747,6 @@ static int ioperm_get(struct task_struct *target, | |||
747 | void ptrace_disable(struct task_struct *child) | 747 | void ptrace_disable(struct task_struct *child) |
748 | { | 748 | { |
749 | user_disable_single_step(child); | 749 | user_disable_single_step(child); |
750 | #ifdef TIF_SYSCALL_EMU | ||
751 | clear_tsk_thread_flag(child, TIF_SYSCALL_EMU); | ||
752 | #endif | ||
753 | } | 750 | } |
754 | 751 | ||
755 | #if defined CONFIG_X86_32 || defined CONFIG_IA32_EMULATION | 752 | #if defined CONFIG_X86_32 || defined CONFIG_IA32_EMULATION |