Skip to content

Commit

Permalink
[MIPS] SMTC: Clear TIF_FPUBOUND on clone / fork.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Sep 21, 2008
1 parent b80a1b8 commit 6657fe0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/mips/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6657fe0

Please sign in to comment.