summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-09-09 15:19:10 +0200
committerRalf Baechle <ralf@linux-mips.org>2008-09-21 14:52:57 +0200
commit6657fe0a0281e06ff46eb42bc18ecb68d8b14b27 (patch)
tree9e222d3dd20eb450395d8463f8f43f3dedb70a86
parentb80a1b80818cd83c6c2109081b43551e7af72c84 (diff)
downloadlinux-6657fe0a0281e06ff46eb42bc18ecb68d8b14b27.tar.bz2
[MIPS] SMTC: Clear TIF_FPUBOUND on clone / fork.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/kernel/process.c2
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.