linux/arch/sh
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
..
boards sh: Fix up SH7710 VoIP-GW build. 2008-03-06 16:08:00 +09:00
boot sh: Fix uImage build error. 2008-03-14 17:19:38 +09:00
cchips sh: Kill off more dead symbols. 2008-02-14 14:22:12 +09:00
configs sh: Fix up SH7710 VoIP-GW build. 2008-03-06 16:08:00 +09:00
drivers arch/sh/drivers/dma/dma-sh.c: Correct use of ! and & 2008-02-27 10:28:48 +09:00
kernel sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
lib
lib64 sh: Fix up the sh64 build. 2008-03-06 17:23:15 +09:00
math-emu
mm sh: Flag PMB support as EXPERIMENTAL. 2008-03-06 16:06:38 +09:00
oprofile
tools sh: Fix up SH7710 VoIP-GW build. 2008-03-06 16:08:00 +09:00
Kconfig sh: Fix up the timer IRQ definition for SH7203. 2008-03-13 19:51:06 +09:00
Kconfig.cpu sh: Disable big endian for SH-5. 2008-02-14 14:22:10 +09:00
Kconfig.debug sh: Clean up whitespace damage in Kconfig.debug. 2008-02-14 14:22:10 +09:00
Makefile sh: Use relative paths for mach/cpu symlinks. 2008-03-21 12:22:01 +09:00