linux_old1/arch/sh/kernel/cpu/sh2a
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
..
Makefile sh: SH-2A FPU support. 2008-01-28 13:18:57 +09:00
clock-sh7203.c sh: Storage class should be before const qualifier 2008-02-26 14:04:17 +09:00
clock-sh7206.c Storage class should be before const qualifier 2007-02-17 20:11:19 +01:00
fpu.c sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
opcode_helper.c sh: Support for SH-2A 32-bit opcodes. 2007-05-09 01:35:01 +00:00
probe.c sh: Add SH7263 CPU support. 2008-01-28 13:18:57 +09:00
setup-sh7203.c serial: Move asm-sh/sci.h to linux/serial_sci.h. 2008-02-26 14:52:45 +09:00
setup-sh7206.c serial: Move asm-sh/sci.h to linux/serial_sci.h. 2008-02-26 14:52:45 +09:00