diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/avr32/kernel/signal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/avr32/kernel/signal.c b/arch/avr32/kernel/signal.c index 5616a00c10ba..c5b11f9067f1 100644 --- a/arch/avr32/kernel/signal.c +++ b/arch/avr32/kernel/signal.c | |||
@@ -93,6 +93,9 @@ asmlinkage int sys_rt_sigreturn(struct pt_regs *regs) | |||
93 | if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) | 93 | if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) |
94 | goto badframe; | 94 | goto badframe; |
95 | 95 | ||
96 | if (do_sigaltstack(&frame->uc.uc_stack, NULL, regs->sp) == -EFAULT) | ||
97 | goto badframe; | ||
98 | |||
96 | pr_debug("Context restored: pc = %08lx, lr = %08lx, sp = %08lx\n", | 99 | pr_debug("Context restored: pc = %08lx, lr = %08lx, sp = %08lx\n", |
97 | regs->pc, regs->lr, regs->sp); | 100 | regs->pc, regs->lr, regs->sp); |
98 | 101 | ||