alistair23-linux/arch/arm/vfp
Russell King 54cb3dbb4a ARM: vfp: fix vfp_sync_state()
The more I look at vfp_sync_state(), the more I believe it's trying
to do its job in a really obscure way.

Essentially, last_VFP_context[] tracks who owns the state in the VFP
hardware.  If last_VFP_context[] is the context for the thread which
we're interested in, then the VFP hardware has context which is not
saved in the software state - so we need to bring the software state
up to date.

If last_VFP_context[] is for some other thread, we really don't care
what state the VFP hardware is in; it doesn't contain any information
pertinent to the thread we're trying to deal with - so don't touch
the hardware.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-02-15 21:39:53 +00:00
..
entry.S Thumb-2: Add some .align statements to the .S files 2009-07-24 12:32:52 +01:00
Makefile
vfp.h [ARM] 5387/1: Add ptrace VFP support on ARM 2009-02-12 10:59:43 +00:00
vfpdouble.c
vfphw.S Thumb-2: Implement the unified VFP support 2009-07-24 12:32:57 +01:00
vfpinstr.h
vfpmodule.c ARM: vfp: fix vfp_sync_state() 2010-02-15 21:39:53 +00:00
vfpsingle.c