ARM: 7399/1: vfp: move user vfp state save/restore code out of signal.c
authorWill Deacon <will.deacon@arm.com>
Mon, 23 Apr 2012 14:38:28 +0000 (15:38 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 23 Apr 2012 14:44:41 +0000 (15:44 +0100)
commit2498814fcb3068f19b82b1519b4038721f61af43
tree6a3483bab350438a768b56bb56611d609b2396b4
parentab4d536890853ab6675ede65db40e2c0980cb0ea
ARM: 7399/1: vfp: move user vfp state save/restore code out of signal.c

The user VFP state must be preserved (subject to ucontext modifications)
across invocation of a signal handler and this is currently handled by
vfp_{preserve,restore}_context in signal.c

Since this code requires intimate low-level knowledge of the VFP state,
this patch moves it into vfpmodule.c.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/thread_info.h
arch/arm/kernel/signal.c
arch/arm/vfp/vfpmodule.c