linux/arch/sh/kernel/cpu
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
..
irq sh: Shut up some trivial build warnings. 2008-02-14 14:22:11 +09:00
sh2 sh: Fix up the address error exception handler for SH-2. 2008-03-13 19:43:07 +09:00
sh2a sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
sh3 serial: Move asm-sh/sci.h to linux/serial_sci.h. 2008-02-26 14:52:45 +09:00
sh4 sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
sh4a serial: Move asm-sh/sci.h to linux/serial_sci.h. 2008-02-26 14:52:45 +09:00
sh5 sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
adc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clock.c sh: clkfwk: Support multi-level clock propagation. 2007-09-28 11:51:52 +09:00
init.c sh: Fix up section mismatches. 2008-03-06 12:43:38 +09:00
Makefile sh: Move over the SH-5 entry.S. 2008-01-28 13:18:46 +09:00
ubc.S fix file specification in comments 2006-10-03 23:01:26 +02:00