summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/process.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-03-24 06:50:16 +0100
committerDavid S. Miller <davem@davemloft.net>2008-03-24 06:50:16 +0100
commit6d008153234c4cccae7bb0170defeea18258db4a (patch)
treed2aafdefa99979efcd11eba4904ef8209b32ba1a /arch/sparc64/kernel/process.c
parent[SPARC64]: Use shorter list_splice_init() for brevity. (diff)
downloadlinux-6d008153234c4cccae7bb0170defeea18258db4a.tar.xz
linux-6d008153234c4cccae7bb0170defeea18258db4a.zip
[SPARC64]: exec PT_DTRACE
The PT_DTRACE flag is meaningless and obsolete. Don't touch it. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/process.c')
-rw-r--r--arch/sparc64/kernel/process.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/process.c b/arch/sparc64/kernel/process.c
index e116e38b160e..acf8c5250aa9 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;