From: Roland McGrath Date: Mon, 24 Mar 2008 05:50:16 +0000 (-0700) Subject: [SPARC64]: exec PT_DTRACE X-Git-Tag: 2.1b_release~20350^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d008153234c4cccae7bb0170defeea18258db4a;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git [SPARC64]: exec PT_DTRACE The PT_DTRACE flag is meaningless and obsolete. Don't touch it. Signed-off-by: Roland McGrath Signed-off-by: David S. Miller --- diff --git a/arch/sparc64/kernel/process.c b/arch/sparc64/kernel/process.c index e116e38..acf8c52 100644 --- a/arch/sparc64/kernel/process.c +++ b/arch/sparc64/kernel/process.c @@ -731,9 +731,6 @@ asmlinkage int sparc_execve(struct pt_regs *regs) current_thread_info()->xfsr[0] = 0; current_thread_info()->fpsaved[0] = 0; regs->tstate &= ~TSTATE_PEF; - task_lock(current); - current->ptrace &= ~PT_DTRACE; - task_unlock(current); } out: return error; diff --git a/arch/sparc64/kernel/sys_sparc32.c b/arch/sparc64/kernel/sys_sparc32.c index deaba2b..2455fa4 100644 --- a/arch/sparc64/kernel/sys_sparc32.c +++ b/arch/sparc64/kernel/sys_sparc32.c @@ -678,9 +678,6 @@ asmlinkage long sparc32_execve(struct pt_regs *regs) current_thread_info()->xfsr[0] = 0; current_thread_info()->fpsaved[0] = 0; regs->tstate &= ~TSTATE_PEF; - task_lock(current); - current->ptrace &= ~PT_DTRACE; - task_unlock(current); } out: return error;