[MIPS] SMTC: Clear TIF_FPUBOUND on clone / fork.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user