diff options
Diffstat (limited to 'arch/mn10300/kernel/signal.c')
-rw-r--r-- | arch/mn10300/kernel/signal.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/mn10300/kernel/signal.c b/arch/mn10300/kernel/signal.c index 4d584ae29ae1..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, |
@@ -475,11 +467,6 @@ static void do_signal(struct pt_regs *regs) | |||
475 | siginfo_t info; | 467 | siginfo_t info; |
476 | int signr; | 468 | int signr; |
477 | 469 | ||
478 | /* we want the common case to go fast, which is why we may in certain | ||
479 | * cases get here from kernel mode */ | ||
480 | if (!user_mode(regs)) | ||
481 | return; | ||
482 | |||
483 | signr = get_signal_to_deliver(&info, &ka, regs, NULL); | 470 | signr = get_signal_to_deliver(&info, &ka, regs, NULL); |
484 | if (signr > 0) { | 471 | if (signr > 0) { |
485 | if (handle_signal(signr, &info, &ka, regs) == 0) { | 472 | if (handle_signal(signr, &info, &ka, regs) == 0) { |