diff options
Diffstat (limited to 'arch/x86/kernel/signal_32.c')
-rw-r--r-- | arch/x86/kernel/signal_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/signal_32.c b/arch/x86/kernel/signal_32.c index 89a690edf999..caee1f002fed 100644 --- a/arch/x86/kernel/signal_32.c +++ b/arch/x86/kernel/signal_32.c | |||
@@ -368,7 +368,7 @@ static int setup_frame(int sig, struct k_sigaction *ka, | |||
368 | if (current->binfmt->hasvdso) | 368 | if (current->binfmt->hasvdso) |
369 | restorer = VDSO32_SYMBOL(current->mm->context.vdso, sigreturn); | 369 | restorer = VDSO32_SYMBOL(current->mm->context.vdso, sigreturn); |
370 | else | 370 | else |
371 | restorer = (void *)&frame->retcode; | 371 | restorer = &frame->retcode; |
372 | if (ka->sa.sa_flags & SA_RESTORER) | 372 | if (ka->sa.sa_flags & SA_RESTORER) |
373 | restorer = ka->sa.sa_restorer; | 373 | restorer = ka->sa.sa_restorer; |
374 | 374 | ||