Skip to content
Commit 3aa2df6e authored by Julien Thierry's avatar Julien Thierry Committed by Russell King
Browse files

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: default avatarJulien Thierry <julien.thierry@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
parent 73839798
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment