linux/arch/sh/kernel/cpu/sh5
Paul Mundt 9bbafce2ee sh: Fix occasional FPU register corruption under preempt.
Presently with preempt enabled there's the possibility to be preempted
after the TIF_USEDFPU test and the register save, leading to bogus
state post-__switch_to(). Use an explicit preempt_disable()/enable()
pair around unlazy_fpu()/clear_fpu() to avoid this. Follows the x86
change.

Reported-by: Takuo Koguchi <takuo.koguchi.sw@hitachi.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-03-26 19:02:47 +09:00
..
entry.S sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
fpu.c sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
Makefile sh: Get the mach-cayman IRQ support building. 2008-01-28 13:18:54 +09:00
probe.c sh: Get SH-5 caches working again post-unification. 2008-02-14 14:22:12 +09:00
switchto.S sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
unwind.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00