Commit 6657fe0a authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] SMTC: Clear TIF_FPUBOUND on clone / fork.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent b80a1b80
...@@ -148,6 +148,8 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp, ...@@ -148,6 +148,8 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
clear_tsk_thread_flag(p, TIF_USEDFPU); clear_tsk_thread_flag(p, TIF_USEDFPU);
#ifdef CONFIG_MIPS_MT_FPAFF #ifdef CONFIG_MIPS_MT_FPAFF
clear_tsk_thread_flag(p, TIF_FPUBOUND);
/* /*
* FPU affinity support is cleaner if we track the * FPU affinity support is cleaner if we track the
* user-visible CPU affinity from the very beginning. * user-visible CPU affinity from the very beginning.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment