Commit 48597760fad3d6a3e30a14241a3ce5ccb1a0e9bc
Committed by
Linus Torvalds
1 parent
9d35f8464d
Exists in
master
and in
7 other branches
ptrace: remove PT_DTRACE from arch/m32r
m32r: PTRACE_SINGLESTEP sets PT_DTRACE, it is never used except cleared after do_execve(). Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Hirokazu Takata <takata@linux-m32r.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>
Showing 2 changed files with 0 additions and 9 deletions Side-by-side Diff
arch/m32r/kernel/process.c
arch/m32r/kernel/ptrace.c
... | ... | @@ -676,10 +676,6 @@ |
676 | 676 | if (!valid_signal(data)) |
677 | 677 | break; |
678 | 678 | clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE); |
679 | - if ((child->ptrace & PT_DTRACE) == 0) { | |
680 | - /* Spurious delayed TF traps may occur */ | |
681 | - child->ptrace |= PT_DTRACE; | |
682 | - } | |
683 | 679 | |
684 | 680 | /* Compute next pc. */ |
685 | 681 | pc = get_stack_long(child, PT_BPC); |