aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-04-23 15:38:28 +0100
committerChristian Neumüller <cn00@gmx.at>2014-12-30 12:53:27 +0100
commit5b8b77e8698e6acbdbb796e6bafe020190956394 (patch)
tree2cfa0383c725abae7c192420debbbf3a5bef9612 /arch/arm/include
parent3787bae4c393e3cc65e759005b154953f6c080b7 (diff)
downloadkernel_samsung_smdk4412-5b8b77e8698e6acbdbb796e6bafe020190956394.zip
kernel_samsung_smdk4412-5b8b77e8698e6acbdbb796e6bafe020190956394.tar.gz
kernel_samsung_smdk4412-5b8b77e8698e6acbdbb796e6bafe020190956394.tar.bz2
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. Change-Id: Ib82f326e7815d139b696d1db6a357769b449c1f3 Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Lanchon <lanchon@gmail.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/thread_info.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/thread_info.h b/arch/arm/include/asm/thread_info.h
index 7b5cc8d..c9becf9 100644
--- a/arch/arm/include/asm/thread_info.h
+++ b/arch/arm/include/asm/thread_info.h
@@ -118,6 +118,13 @@ extern void iwmmxt_task_switch(struct thread_info *);
extern void vfp_sync_hwstate(struct thread_info *);
extern void vfp_flush_hwstate(struct thread_info *);
+struct user_vfp;
+struct user_vfp_exc;
+
+extern int vfp_preserve_user_clear_hwstate(struct user_vfp __user *,
+ struct user_vfp_exc __user *);
+extern int vfp_restore_user_hwstate(struct user_vfp __user *,
+ struct user_vfp_exc __user *);
#endif
/*