diff options
Diffstat (limited to 'arch/x86/ia32')
-rw-r--r-- | arch/x86/ia32/ia32_signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c index 0a34c24f19e5..1c0503bdfb1a 100644 --- a/arch/x86/ia32/ia32_signal.c +++ b/arch/x86/ia32/ia32_signal.c | |||
@@ -472,7 +472,7 @@ int ia32_setup_frame(int sig, struct k_sigaction *ka, | |||
472 | restorer = VDSO32_SYMBOL(current->mm->context.vdso, | 472 | restorer = VDSO32_SYMBOL(current->mm->context.vdso, |
473 | sigreturn); | 473 | sigreturn); |
474 | else | 474 | else |
475 | restorer = (void *)&frame->retcode; | 475 | restorer = &frame->retcode; |
476 | } | 476 | } |
477 | err |= __put_user(ptr_to_compat(restorer), &frame->pretcode); | 477 | err |= __put_user(ptr_to_compat(restorer), &frame->pretcode); |
478 | 478 | ||