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:
Zhuo Chen 2022-08-12 15:31:07 +08:00 committed by Jianping Liu
parent 728786a2a5
commit e3dad1367c
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ static bool ia32_restore_sigcontext(struct pt_regs *regs,
* normal case.
*/
reload_segments(&sc);
err = !fpu__restore_sig(compat_ptr(sc.fpstate), 1);
err = fpu__restore_sig(compat_ptr(sc.fpstate), 1);
force_iret();