This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / parisc / kernel / sys_parisc32.c
index 7536ecc..74db7f6 100644 (file)
@@ -80,11 +80,8 @@ asmlinkage int sys32_execve(struct pt_regs *regs)
                goto out;
        error = compat_do_execve(filename, compat_ptr(regs->gr[25]),
                                 compat_ptr(regs->gr[24]), regs);
-       if (error == 0) {
-               task_lock(current);
+       if (error == 0)
                current->ptrace &= ~PT_DTRACE;
-               task_unlock(current);
-       }
        putname(filename);
 out: