sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.
authorDavid S. Miller <davem@davemloft.net>
Tue, 25 Oct 2016 04:20:35 +0000 (21:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Oct 2016 04:20:35 +0000 (21:20 -0700)
commitee841d0aff649164080e445e84885015958d8ff4
tree015261d201e3b2893d19d0b6c9a2d0a80d86cc76
parente93704e4464fdc191f73fce35129c18de2ebf95d
sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.

Report the exact number of bytes which have not been successfully
copied when an exception occurs, using the running remaining length.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/lib/U3copy_from_user.S
arch/sparc/lib/U3copy_to_user.S
arch/sparc/lib/U3memcpy.S