diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-26 22:20:22 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-01 09:58:16 -0400 |
commit | 548916e9f59ba35174122e33c48ac744410973fa (patch) | |
tree | 41a6d5d1d71eb9d2b69f54f7a7e4f795e81680bf /arch/mn10300 | |
parent | 7fa6239dac3f6695393578f8f840b9cd11aa5476 (diff) |
mn10300: don't bother with SIGTRAP in setup_frame()
... just tell signal_delivered() to do it.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mn10300')
-rw-r--r-- | arch/mn10300/kernel/signal.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/mn10300/kernel/signal.c b/arch/mn10300/kernel/signal.c index b2c0ac715128..f570b3085ef9 100644 --- a/arch/mn10300/kernel/signal.c +++ b/arch/mn10300/kernel/signal.c | |||
@@ -317,10 +317,6 @@ static int setup_frame(int sig, struct k_sigaction *ka, sigset_t *set, | |||
317 | regs->d0 = sig; | 317 | regs->d0 = sig; |
318 | regs->d1 = (unsigned long) &frame->sc; | 318 | regs->d1 = (unsigned long) &frame->sc; |
319 | 319 | ||
320 | /* the tracer may want to single-step inside the handler */ | ||
321 | if (test_thread_flag(TIF_SINGLESTEP)) | ||
322 | ptrace_notify(SIGTRAP); | ||
323 | |||
324 | #if DEBUG_SIG | 320 | #if DEBUG_SIG |
325 | printk(KERN_DEBUG "SIG deliver %d (%s:%d): sp=%p pc=%lx ra=%p\n", | 321 | printk(KERN_DEBUG "SIG deliver %d (%s:%d): sp=%p pc=%lx ra=%p\n", |
326 | sig, current->comm, current->pid, frame, regs->pc, | 322 | sig, current->comm, current->pid, frame, regs->pc, |
@@ -398,10 +394,6 @@ static int setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, | |||
398 | regs->d0 = sig; | 394 | regs->d0 = sig; |
399 | regs->d1 = (long) &frame->info; | 395 | regs->d1 = (long) &frame->info; |
400 | 396 | ||
401 | /* the tracer may want to single-step inside the handler */ | ||
402 | if (test_thread_flag(TIF_SINGLESTEP)) | ||
403 | ptrace_notify(SIGTRAP); | ||
404 | |||
405 | #if DEBUG_SIG | 397 | #if DEBUG_SIG |
406 | printk(KERN_DEBUG "SIG deliver %d (%s:%d): sp=%p pc=%lx ra=%p\n", | 398 | printk(KERN_DEBUG "SIG deliver %d (%s:%d): sp=%p pc=%lx ra=%p\n", |
407 | sig, current->comm, current->pid, frame, regs->pc, | 399 | sig, current->comm, current->pid, frame, regs->pc, |