]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SPARC64]: exec PT_DTRACE
authorRoland McGrath <roland@redhat.com>
Mon, 24 Mar 2008 05:50:16 +0000 (22:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Mar 2008 05:50:16 +0000 (22:50 -0700)
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>
arch/sparc64/kernel/process.c
arch/sparc64/kernel/sys_sparc32.c

index e116e38b160ec3cd9a9b8a5aaecfef2ff2d659db..acf8c5250aa9822f633e7367b662ea6f883a4059 100644 (file)
@@ -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;
index deaba2bd0535fe10a372486a165fad134a5dccd4..2455fa498876f344b0c00db0800bbd1718acead0 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;