diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-26 22:17:47 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-01 09:58:16 -0400 |
commit | 7fa6239dac3f6695393578f8f840b9cd11aa5476 (patch) | |
tree | e84a7af374e74da59a55dc2d3d6eefec60415a51 /arch/frv | |
parent | 969ae0bfb079de892a95aa4ca1e8ac76c4beb57c (diff) |
frv: no need to raise SIGTRAP in setup_frame()
signal_delivered() will do it in the same case...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/kernel/signal.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/frv/kernel/signal.c b/arch/frv/kernel/signal.c index 864c2f0d497b..a03e3cccd98d 100644 --- a/arch/frv/kernel/signal.c +++ b/arch/frv/kernel/signal.c | |||
@@ -298,10 +298,6 @@ static int setup_frame(int sig, struct k_sigaction *ka, sigset_t *set) | |||
298 | __frame->lr = (unsigned long) &frame->retcode; | 298 | __frame->lr = (unsigned long) &frame->retcode; |
299 | __frame->gr8 = sig; | 299 | __frame->gr8 = sig; |
300 | 300 | ||
301 | /* the tracer may want to single-step inside the handler */ | ||
302 | if (test_thread_flag(TIF_SINGLESTEP)) | ||
303 | ptrace_notify(SIGTRAP); | ||
304 | |||
305 | #if DEBUG_SIG | 301 | #if DEBUG_SIG |
306 | printk("SIG deliver %d (%s:%d): sp=%p pc=%lx ra=%p\n", | 302 | printk("SIG deliver %d (%s:%d): sp=%p pc=%lx ra=%p\n", |
307 | sig, current->comm, current->pid, frame, __frame->pc, | 303 | sig, current->comm, current->pid, frame, __frame->pc, |
@@ -400,10 +396,6 @@ static int setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, | |||
400 | __frame->gr8 = sig; | 396 | __frame->gr8 = sig; |
401 | __frame->gr9 = (unsigned long) &frame->info; | 397 | __frame->gr9 = (unsigned long) &frame->info; |
402 | 398 | ||
403 | /* the tracer may want to single-step inside the handler */ | ||
404 | if (test_thread_flag(TIF_SINGLESTEP)) | ||
405 | ptrace_notify(SIGTRAP); | ||
406 | |||
407 | #if DEBUG_SIG | 399 | #if DEBUG_SIG |
408 | printk("SIG deliver %d (%s:%d): sp=%p pc=%lx ra=%p\n", | 400 | printk("SIG deliver %d (%s:%d): sp=%p pc=%lx ra=%p\n", |
409 | sig, current->comm, current->pid, frame, __frame->pc, | 401 | sig, current->comm, current->pid, frame, __frame->pc, |