linux/arch/sh/kernel/cpu/sh4
Paul Mundt 0ea820cf9b sh: Move over to dynamically allocated FPU context.
This follows the x86 xstate changes and implements a task_xstate slab
cache that is dynamically sized to match one of hard FP/soft FP/FPU-less.

This also tidies up and consolidates some of the SH-2A/SH-4 FPU
fragmentation. Now fpu state restorers are commonly defined, with the
init_fpu()/fpu_init() mess reworked to follow the x86 convention.
The fpu_init() register initialization has been replaced by xstate setup
followed by writing out to hardware via the standard restore path.

As init_fpu() now performs a slab allocation a secondary lighterweight
restorer is also introduced for the context switch.

In the future the DSP state will be rolled in here, too.

More work remains for math emulation and the SH-5 FPU, which presently
uses its own special (UP-only) interfaces.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-01-13 12:51:40 +09:00
..
clock-sh4-202.c sh: clkfwk: Rework legacy CPG clock handling. 2009-05-13 17:38:11 +09:00
clock-sh4.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
fpu.c sh: Move over to dynamically allocated FPU context. 2010-01-13 12:51:40 +09:00
Makefile sh: Fix up the CONFIG_PERF_EVENTS=n build for SH-4. 2009-11-12 16:20:36 +09:00
perf_event.c sh: perf events: Add support for SH7750-style counters. 2009-11-05 17:02:03 +09:00
probe.c Merge branch 'master' into sh/smp 2009-09-01 13:54:14 +09:00
setup-sh4-202.c sh: sh4 scif pdata (sh7750/sh7760/sh4-202) 2009-12-15 12:06:33 +09:00
setup-sh7750.c sh: sh4 scif pdata (sh7750/sh7760/sh4-202) 2009-12-15 12:06:33 +09:00
setup-sh7760.c sh: sh4 scif pdata (sh7750/sh7760/sh4-202) 2009-12-15 12:06:33 +09:00
softfloat.c sh: __udivdi3 -> do_div() in softfloat lib. 2008-12-22 18:42:53 +09:00
sq.c sh: Fix up broken kerneldoc comments. 2008-08-04 12:51:06 +09:00