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

ARM: 8789/1: signal: copy registers using __copy_to_user()



When saving the ARM integer registers, use __copy_to_user() to
copy them into user signal frame, rather than __put_user_error().
This has the benefit of disabling/enabling PAN once for the whole copy
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 a3c0f847
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