Skip to content

Commit 6657fe0

Browse files
committed
[MIPS] SMTC: Clear TIF_FPUBOUND on clone / fork.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent b80a1b8 commit 6657fe0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/mips/kernel/process.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
148148
clear_tsk_thread_flag(p, TIF_USEDFPU);
149149

150150
#ifdef CONFIG_MIPS_MT_FPAFF
151+
clear_tsk_thread_flag(p, TIF_FPUBOUND);
152+
151153
/*
152154
* FPU affinity support is cleaner if we track the
153155
* user-visible CPU affinity from the very beginning.

0 commit comments

Comments
 (0)