diff options
-rw-r--r-- | arch/m68k/kernel/traps.c | 1 | ||||
-rw-r--r-- | arch/m68knommu/kernel/asm-offsets.c | 1 | ||||
-rw-r--r-- | arch/m68knommu/kernel/traps.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/arch/m68k/kernel/traps.c b/arch/m68k/kernel/traps.c index 184acc90808d..aacd6d17b833 100644 --- a/arch/m68k/kernel/traps.c +++ b/arch/m68k/kernel/traps.c | |||
@@ -1057,7 +1057,6 @@ asmlinkage void trap_c(struct frame *fp) | |||
1057 | if (fp->ptregs.sr & PS_S) { | 1057 | if (fp->ptregs.sr & PS_S) { |
1058 | if ((fp->ptregs.vector >> 2) == VEC_TRACE) { | 1058 | if ((fp->ptregs.vector >> 2) == VEC_TRACE) { |
1059 | /* traced a trapping instruction */ | 1059 | /* traced a trapping instruction */ |
1060 | current->ptrace |= PT_DTRACE; | ||
1061 | } else | 1060 | } else |
1062 | bad_super_trap(fp); | 1061 | bad_super_trap(fp); |
1063 | return; | 1062 | return; |
diff --git a/arch/m68knommu/kernel/asm-offsets.c b/arch/m68knommu/kernel/asm-offsets.c index f500dd6935d6..594ee0e657fe 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 5d5d56bcd0ef..51d325343ab5 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; |