x86/fpu/signal: Change return type of fpu__restore_sig() to boolean
commit 052adee668
upstream.
Append changes for arch/x86/ia32/ia32_signal.c
Signed-off-by: Chen Zhuo <sagazchen@tencent.com>
Signed-off-by: Xinghui Li <korantli@tencent.com>
This commit is contained in:
parent
728786a2a5
commit
e3dad1367c
|
@ -94,7 +94,7 @@ static bool ia32_restore_sigcontext(struct pt_regs *regs,
|
||||||
* normal case.
|
* normal case.
|
||||||
*/
|
*/
|
||||||
reload_segments(&sc);
|
reload_segments(&sc);
|
||||||
err = !fpu__restore_sig(compat_ptr(sc.fpstate), 1);
|
err = fpu__restore_sig(compat_ptr(sc.fpstate), 1);
|
||||||
|
|
||||||
force_iret();
|
force_iret();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue