diff options
author | Julien Thierry <julien.thierry@arm.com> | 2018-09-11 10:12:18 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-10-05 10:51:15 +0100 |
commit | 3aa2df6ec2ca6bc143a65351cca4266d03a8bc41 (patch) | |
tree | 5e8f2c4550c0097ba86d75c5b35b411731de8bcb /arch/arm64/kernel/cpu-reset.S | |
parent | 73839798af7ebc6c8d0c9271ebbbc148700e521f (diff) | |
download | linux-stable-3aa2df6ec2ca6bc143a65351cca4266d03a8bc41.tar.gz linux-stable-3aa2df6ec2ca6bc143a65351cca4266d03a8bc41.tar.bz2 linux-stable-3aa2df6ec2ca6bc143a65351cca4266d03a8bc41.zip |
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>
Diffstat (limited to 'arch/arm64/kernel/cpu-reset.S')
0 files changed, 0 insertions, 0 deletions