Merge branch 'arch-tile' into no-rebases

This commit is contained in:
Al Viro 2012-11-28 21:44:15 -05:00
commit a2b6dfaef0
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ long compat_sys_rt_sigreturn(void)
if (restore_sigcontext(regs, &frame->uc.uc_mcontext))
goto badframe;
if (compat_sys_sigaltstack(&frame->uc.uc_stack, NULL) != 0)
if (compat_sys_sigaltstack(&frame->uc.uc_stack, NULL) == -EFAULT)
goto badframe;
return 0;