commit | 3aa2df6ec2ca6bc143a65351cca4266d03a8bc41 | [log] [tgz] |
---|---|---|
author | Julien Thierry <julien.thierry@arm.com> | Tue Sep 11 10:12:18 2018 +0100 |
committer | Russell King <rmk+kernel@armlinux.org.uk> | Fri Oct 05 10:51:15 2018 +0100 |
tree | 5e8f2c4550c0097ba86d75c5b35b411731de8bcb | |
parent | 73839798af7ebc6c8d0c9271ebbbc148700e521f [diff] |
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>