mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sparc64 exec PT_DTRACE
@ 2008-03-23 21:19 Roland McGrath
  2008-03-24  5:50 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Roland McGrath @ 2008-03-23 21:19 UTC (permalink / raw)
  To: David Miller; +Cc: sparclinux, linux-kernel

The PT_DTRACE flag is meaningless and obsolete.
Don't touch it.

Signed-off-by: Roland McGrath <roland@redhat.com>
---
 arch/sparc64/kernel/process.c     |    3 ---
 arch/sparc64/kernel/sys_sparc32.c |    3 ---
 2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/arch/sparc64/kernel/process.c b/arch/sparc64/kernel/process.c
index e116e38..c80d850 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;
diff --git a/arch/sparc64/kernel/sys_sparc32.c b/arch/sparc64/kernel/sys_sparc32.c
index deaba2b..41cbc6b 100644
--- a/arch/sparc64/kernel/sys_sparc32.c
+++ b/arch/sparc64/kernel/sys_sparc32.c
@@ -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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] sparc64 exec PT_DTRACE
  2008-03-23 21:19 [PATCH] sparc64 exec PT_DTRACE Roland McGrath
@ 2008-03-24  5:50 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-03-24  5:50 UTC (permalink / raw)
  To: roland; +Cc: sparclinux, linux-kernel

From: Roland McGrath <roland@redhat.com>
Date: Sun, 23 Mar 2008 14:19:51 -0700 (PDT)

> The PT_DTRACE flag is meaningless and obsolete.
> Don't touch it.
> 
> Signed-off-by: Roland McGrath <roland@redhat.com>

Applied, thanks Roland.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-24  5:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-23 21:19 [PATCH] sparc64 exec PT_DTRACE Roland McGrath
2008-03-24  5:50 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®