Commit a2b6dfae authored by Al Viro's avatar Al Viro
Browse files

Merge branch 'arch-tile' into no-rebases

parents 1e93f668 e3cb7e9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -248,7 +248,7 @@ long compat_sys_rt_sigreturn(void)
	if (restore_sigcontext(regs, &frame->uc.uc_mcontext))
	if (restore_sigcontext(regs, &frame->uc.uc_mcontext))
		goto badframe;
		goto badframe;


	if (compat_sys_sigaltstack(&frame->uc.uc_stack, NULL) != 0)
	if (compat_sys_sigaltstack(&frame->uc.uc_stack, NULL) == -EFAULT)
		goto badframe;
		goto badframe;


	return 0;
	return 0;