Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6657fe0a authored by Ralf Baechle's avatar Ralf Baechle
Browse files

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

parent b80a1b80
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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.