sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Aug 2016 22:26:38 +0000 (15:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2016 18:31:58 +0000 (11:31 -0700)
commitd0796b555ba60c22eb41ae39a8362156cb08eee9
tree0d254f4e2a9161310692e0010c9c040cb5eae902
parent0096ac9f47b1a2e851b3165d44065d18e5f13d58
sparc64: Convert GENcopy_{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/GENcopy_from_user.S
arch/sparc/lib/GENcopy_to_user.S
arch/sparc/lib/GENmemcpy.S