Pārlūkot izejas kodu

[MIPS] SMTC: Clear TIF_FPUBOUND on clone / fork.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 16 gadi atpakaļ
vecāks
revīzija
6657fe0a02
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      arch/mips/kernel/process.c

+ 2 - 0
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);
 	clear_tsk_thread_flag(p, TIF_USEDFPU);
 
 
 #ifdef CONFIG_MIPS_MT_FPAFF
 #ifdef CONFIG_MIPS_MT_FPAFF
+	clear_tsk_thread_flag(p, TIF_FPUBOUND);
+
 	/*
 	/*
 	 * FPU affinity support is cleaner if we track the
 	 * FPU affinity support is cleaner if we track the
 	 * user-visible CPU affinity from the very beginning.
 	 * user-visible CPU affinity from the very beginning.