]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: 8791/1: vfp: use __copy_to_user() when saving VFP state
authorJulien Thierry <julien.thierry@arm.com>
Tue, 11 Sep 2018 09:12:18 +0000 (10:12 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 5 Oct 2018 09:51:15 +0000 (10:51 +0100)
commit3aa2df6ec2ca6bc143a65351cca4266d03a8bc41
tree5e8f2c4550c0097ba86d75c5b35b411731de8bcb
parent73839798af7ebc6c8d0c9271ebbbc148700e521f
ARM: 8791/1: vfp: use __copy_to_user() when saving VFP state

Use __copy_to_user() rather than __put_user_error() for individual
members when saving VFP state.
This has the benefit of disabling/enabling PAN once per copied struct
intead of once per write.

Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/thread_info.h
arch/arm/kernel/signal.c
arch/arm/vfp/vfpmodule.c