MIPS: Fix race condition with FPU thread task flag during context switch.
authorLeonid Yegoshin <yegoshin@mips.com>
Thu, 19 Jul 2012 07:11:14 +0000 (09:11 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 19 Jul 2012 09:23:43 +0000 (11:23 +0200)
commit2dd17030c940ef1199a07b095ec79c4660fa8734
tree34261c3c27f418a785ef127afe6a1f0109310a53
parentdc34b05fea0cc9a869863b929f37f1e8ce30edf4
MIPS: Fix race condition with FPU thread task flag during context switch.

[ralf@linux-mips.org: Cosmetic changes; also fixed up r2300_switch.S and
octeon_switch.S which needed similar modifications.]

Signed-off-by: Leonid Yegoshin <yegoshin@mips.com>
Signed-off-by: Steven J. Hill <sjhill@mips.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3784/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/switch_to.h
arch/mips/kernel/octeon_switch.S
arch/mips/kernel/r2300_switch.S
arch/mips/kernel/r4k_switch.S