]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4111/1: Allow VFP to work with thread migration on SMP
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 24 Jan 2007 17:47:08 +0000 (18:47 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 25 Jan 2007 16:35:29 +0000 (16:35 +0000)
commitc6428464894889e110418928e6b37dc2eb4cee56
tree292410b297ef2332715aabd7a87ef9fe0c03de4a
parent412489af76b5c0e4029d4406d93554c22a88fc73
[ARM] 4111/1: Allow VFP to work with thread migration on SMP

The current lazy saving of the VFP registers is no longer possible
with thread migration on SMP. This patch implements a per-CPU
vfp-state pointer and the saving of the VFP registers at every context
switch. The registers restoring is still performed in a lazy way.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/entry.S
arch/arm/vfp/vfp.h
arch/arm/vfp/vfphw.S
arch/arm/vfp/vfpmodule.c
include/asm-arm/fpstate.h