From: Ralf Baechle Date: Tue, 9 Sep 2008 13:19:10 +0000 (+0200) Subject: [MIPS] SMTC: Clear TIF_FPUBOUND on clone / fork. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6657fe0a0281e06ff46eb42bc18ecb68d8b14b27;p=openwrt%2Fstaging%2Fblogic.git [MIPS] SMTC: Clear TIF_FPUBOUND on clone / fork. Signed-off-by: Ralf Baechle --- 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.