diff options
author | Oleg Nesterov <oleg@redhat.com> | 2009-06-17 19:27:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 16:03:48 -0400 |
commit | 9d35f8464dd51466e60447625784cf1740f03ff4 (patch) | |
tree | 14f23f6a4492f6c433154ca6da774d988c02ec5f /arch/m68knommu/kernel | |
parent | bba7fc0a21d76ef951cdac6d11896dc6b5a9ffa7 (diff) |
ptrace: remove PT_DTRACE from m68k, m68knommu
m68k sets PT_DTRACE in trap_c() but never uses it.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Greg Ungerer <gerg@snapgear.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68knommu/kernel')
-rw-r--r-- | arch/m68knommu/kernel/asm-offsets.c | 1 | ||||
-rw-r--r-- | arch/m68knommu/kernel/traps.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/m68knommu/kernel/asm-offsets.c b/arch/m68knommu/kernel/asm-offsets.c index f500dd6935d..594ee0e657f 100644 --- a/arch/m68knommu/kernel/asm-offsets.c +++ b/arch/m68knommu/kernel/asm-offsets.c | |||
@@ -73,7 +73,6 @@ int main(void) | |||
73 | DEFINE(TRAP_TRACE, TRAP_TRACE); | 73 | DEFINE(TRAP_TRACE, TRAP_TRACE); |
74 | 74 | ||
75 | DEFINE(PT_PTRACED, PT_PTRACED); | 75 | DEFINE(PT_PTRACED, PT_PTRACED); |
76 | DEFINE(PT_DTRACE, PT_DTRACE); | ||
77 | 76 | ||
78 | DEFINE(THREAD_SIZE, THREAD_SIZE); | 77 | DEFINE(THREAD_SIZE, THREAD_SIZE); |
79 | 78 | ||
diff --git a/arch/m68knommu/kernel/traps.c b/arch/m68knommu/kernel/traps.c index 5d5d56bcd0e..51d325343ab 100644 --- a/arch/m68knommu/kernel/traps.c +++ b/arch/m68knommu/kernel/traps.c | |||
@@ -200,7 +200,6 @@ asmlinkage void trap_c(struct frame *fp) | |||
200 | if (fp->ptregs.sr & PS_S) { | 200 | if (fp->ptregs.sr & PS_S) { |
201 | if ((fp->ptregs.vector >> 2) == VEC_TRACE) { | 201 | if ((fp->ptregs.vector >> 2) == VEC_TRACE) { |
202 | /* traced a trapping instruction */ | 202 | /* traced a trapping instruction */ |
203 | current->ptrace |= PT_DTRACE; | ||
204 | } else | 203 | } else |
205 | bad_super_trap(fp); | 204 | bad_super_trap(fp); |
206 | return; | 205 | return; |