Skip to content

Commit

Permalink
sparc32: Don't twiddle PT_DTRACE in exec.
Browse files Browse the repository at this point in the history
That bit isn't used on this platform.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed May 10, 2008
1 parent 6cd5a86 commit c07c605
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/sparc/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,11 +638,6 @@ asmlinkage int sparc_execve(struct pt_regs *regs)
(char __user * __user *)regs->u_regs[base + UREG_I2],
regs);
putname(filename);
if (error == 0) {
task_lock(current);
current->ptrace &= ~PT_DTRACE;
task_unlock(current);
}
out:
return error;
}
Expand Down

0 comments on commit c07c605

Please sign in to comment.