summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/process.c
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 /arch/mips/kernel/process.c
parent[MIPS] Fix 64-bit IP checksum code (diff)
downloadlinux-6657fe0a0281e06ff46eb42bc18ecb68d8b14b27.tar.xz
linux-6657fe0a0281e06ff46eb42bc18ecb68d8b14b27.zip
[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.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.