diff options
Diffstat (limited to 'arch/sh/kernel/signal_64.c')
-rw-r--r-- | arch/sh/kernel/signal_64.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c index 71993c6a7d94..0462995d4d7f 100644 --- a/arch/sh/kernel/signal_64.c +++ b/arch/sh/kernel/signal_64.c | |||
@@ -457,8 +457,6 @@ static int setup_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs | |||
457 | 457 | ||
458 | regs->pc = neff_sign_extend((unsigned long)ksig->ka.sa.sa_handler); | 458 | regs->pc = neff_sign_extend((unsigned long)ksig->ka.sa.sa_handler); |
459 | 459 | ||
460 | set_fs(USER_DS); | ||
461 | |||
462 | /* Broken %016Lx */ | 460 | /* Broken %016Lx */ |
463 | pr_debug("SIG deliver (#%d,%s:%d): sp=%p pc=%08Lx%08Lx link=%08Lx%08Lx\n", | 461 | pr_debug("SIG deliver (#%d,%s:%d): sp=%p pc=%08Lx%08Lx link=%08Lx%08Lx\n", |
464 | signal, current->comm, current->pid, frame, | 462 | signal, current->comm, current->pid, frame, |
@@ -547,8 +545,6 @@ static int setup_rt_frame(struct ksignal *kig, sigset_t *set, | |||
547 | regs->regs[REG_ARG3] = (unsigned long long)(unsigned long)(signed long)&frame->uc.uc_mcontext; | 545 | regs->regs[REG_ARG3] = (unsigned long long)(unsigned long)(signed long)&frame->uc.uc_mcontext; |
548 | regs->pc = neff_sign_extend((unsigned long)ksig->ka.sa.sa_handler); | 546 | regs->pc = neff_sign_extend((unsigned long)ksig->ka.sa.sa_handler); |
549 | 547 | ||
550 | set_fs(USER_DS); | ||
551 | |||
552 | pr_debug("SIG deliver (#%d,%s:%d): sp=%p pc=%08Lx%08Lx link=%08Lx%08Lx\n", | 548 | pr_debug("SIG deliver (#%d,%s:%d): sp=%p pc=%08Lx%08Lx link=%08Lx%08Lx\n", |
553 | signal, current->comm, current->pid, frame, | 549 | signal, current->comm, current->pid, frame, |
554 | regs->pc >> 32, regs->pc & 0xffffffff, | 550 | regs->pc >> 32, regs->pc & 0xffffffff, |