aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/kernel/signal.c')
-rw-r--r--arch/arm64/kernel/signal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c
index 06448a77ff53..882f01774365 100644
--- a/arch/arm64/kernel/signal.c
+++ b/arch/arm64/kernel/signal.c
@@ -413,4 +413,8 @@ asmlinkage void do_notify_resume(struct pt_regs *regs,
413 clear_thread_flag(TIF_NOTIFY_RESUME); 413 clear_thread_flag(TIF_NOTIFY_RESUME);
414 tracehook_notify_resume(regs); 414 tracehook_notify_resume(regs);
415 } 415 }
416
417 if (thread_flags & _TIF_FOREIGN_FPSTATE)
418 fpsimd_restore_current_state();
419
416} 420}