android_kernel_xiaomi_sm7250/arch/sh/kernel/cpu/sh4
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
..
clock-sh4-202.c sh: Fix SH4-202 clock fwk set_rate() mismatch. 2007-06-04 10:51:59 +09:00
clock-sh4.c [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
fpu.c sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
Makefile sh: Support denormalization on SH-4 FPU. 2008-01-28 13:18:59 +09:00
probe.c sh: add support for sh7366 processor 2008-02-14 14:22:10 +09:00
setup-sh4-202.c serial: Move asm-sh/sci.h to linux/serial_sci.h. 2008-02-26 14:52:45 +09:00
setup-sh7750.c serial: Move asm-sh/sci.h to linux/serial_sci.h. 2008-02-26 14:52:45 +09:00
setup-sh7760.c serial: Move asm-sh/sci.h to linux/serial_sci.h. 2008-02-26 14:52:45 +09:00
softfloat.c sh: Support denormalization on SH-4 FPU. 2008-01-28 13:18:59 +09:00
sq.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00