Explorar el Código

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

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle hace 16 años
padre
commit
6657fe0a02
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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);
 
 #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.