[PATCH] cris/arch-v10: don't clear TIF_SYSCALL_TRACE in ptrace_disable

From: Christoph Hellwig
Date: Wed Feb 03 2010 - 04:04:16 EST


The flag is already cleared by the only caller directly after the call to
ptrace_disable.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: linux-2.6/arch/cris/arch-v10/kernel/ptrace.c
===================================================================
--- linux-2.6.orig/arch/cris/arch-v10/kernel/ptrace.c 2010-02-03 09:59:31.935004127 +0100
+++ linux-2.6/arch/cris/arch-v10/kernel/ptrace.c 2010-02-03 09:59:41.196068227 +0100
@@ -64,8 +64,6 @@ inline int put_reg(struct task_struct *t
void
ptrace_disable(struct task_struct *child)
{
- /* Todo - pending singlesteps? */
- clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
}

/*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/