diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-09-09 15:19:10 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-09-21 14:52:57 +0200 |
commit | 6657fe0a0281e06ff46eb42bc18ecb68d8b14b27 (patch) | |
tree | 9e222d3dd20eb450395d8463f8f43f3dedb70a86 /arch/mips/kernel/process.c | |
parent | b80a1b80818cd83c6c2109081b43551e7af72c84 (diff) |
[MIPS] SMTC: Clear TIF_FPUBOUND on clone / fork.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r-- | arch/mips/kernel/process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index b16facd9ea8e..ce7684335a41 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c @@ -148,6 +148,8 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp, clear_tsk_thread_flag(p, TIF_USEDFPU); #ifdef CONFIG_MIPS_MT_FPAFF + clear_tsk_thread_flag(p, TIF_FPUBOUND); + /* * FPU affinity support is cleaner if we track the * user-visible CPU affinity from the very beginning. |