android_kernel_xiaomi_sm8350/arch/sh/kernel
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
..
cpu sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
timers sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00
vsyscall
asm-offsets.c
cf-enabler.c
cpufreq.c
crash_dump.c
debugtraps.S
dump_task.c sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
early_printk.c sh: Add support for SH7721 CPU subtype. 2008-01-28 13:19:02 +09:00
entry-common.S sh: GUSA atomic rollback support. 2008-01-28 13:18:58 +09:00
head_32.S sh: Provide a 29/32-bit physical hint for bootloaders. 2008-01-28 13:18:57 +09:00
head_64.S sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
init_task.c sh: Provide dummy swapper pt_regs for SH-5 ctx switch. 2008-01-28 13:18:48 +09:00
io_generic.c sh: trapped io support V2 2008-02-14 14:22:09 +09:00
io_trapped.c sh: Fix up section mismatches. 2008-03-06 12:43:38 +09:00
io.c sh: trapped io support V2 2008-02-14 14:22:09 +09:00
irq.c sh: Kill off more dead symbols. 2008-02-14 14:22:12 +09:00
kgdb_jmp.S
kgdb_stub.c
machine_kexec.c
machvec.c
Makefile sh: Have 32-bit use arch/sh/kernel/Makefile_32. 2008-01-28 13:18:41 +09:00
Makefile_32 sh: trapped io support V2 2008-02-14 14:22:09 +09:00
Makefile_64 sh: trapped io support V2 2008-02-14 14:22:09 +09:00
module.c sh: Merge sh and sh64 module.c. 2008-01-28 13:18:49 +09:00
pm.c
process_32.c sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
process_64.c sh: Shut up some trivial build warnings. 2008-02-14 14:22:11 +09:00
ptrace_32.c sh: fix ptrace copy_from/to_user() compilation error 2008-02-14 14:22:09 +09:00
ptrace_64.c sh: syscall auditing for sh5, too. 2008-01-28 13:18:58 +09:00
relocate_kernel.S
semaphore.c
setup.c sh: add support for sh7366 processor 2008-02-14 14:22:10 +09:00
sh_bios.c
sh_ksyms_32.c sh: export copy-page() to modules 2008-03-06 11:16:40 +09:00
sh_ksyms_64.c sh: export copy-page() to modules 2008-03-06 11:16:40 +09:00
signal_32.c sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
signal_64.c sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
smp.c SH: Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro. 2008-03-21 12:19:07 +09:00
stacktrace.c
sys_sh32.c sh: sys_sh consolidation for arch_get_unmapped_area(). 2008-01-28 13:18:49 +09:00
sys_sh64.c sh: sys_sh consolidation for arch_get_unmapped_area(). 2008-01-28 13:18:49 +09:00
sys_sh.c sh: sys_sh consolidation for arch_get_unmapped_area(). 2008-01-28 13:18:49 +09:00
syscalls_32.S sh: Wire up new timerfd syscalls. 2008-02-14 14:22:08 +09:00
syscalls_64.S sh: Wire up new timerfd syscalls. 2008-02-14 14:22:08 +09:00
time_32.c sh: fix xtime_lock deadlocking. 2008-02-14 14:22:08 +09:00
time_64.c sh: fix xtime_lock deadlocking. 2008-02-14 14:22:08 +09:00
topology.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00
traps_32.c sh: trapped io support V2 2008-02-14 14:22:09 +09:00
traps_64.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00
traps.c sh: Fix the arch/sh/kernel/traps.c build for sh32. 2008-01-28 13:18:57 +09:00
vmlinux_32.lds.S all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00
vmlinux_64.lds.S sh: Kill off more dead symbols. 2008-02-14 14:22:12 +09:00
vmlinux.lds.S sh: Split out linker script to _32 and _64 variants. 2008-01-28 13:18:45 +09:00