[SPARC64]: exec PT_DTRACE
[linux-2.6.git] / arch / sparc64 / kernel / sys_sparc32.c
index deaba2b..2455fa4 100644 (file)
@@ -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;