[MIPS] SMTC: Clear TIF_FPUBOUND on clone / fork.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 9 Sep 2008 13:19:10 +0000 (15:19 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Sep 2008 12:52:57 +0000 (14:52 +0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/process.c

index b16facd9ea8ecae7b27116952090beca25450c78..ce7684335a415fb98de1781058d9db9f6d5271eb 100644 (file)
@@ -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.