sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Aug 2016 23:07:50 +0000 (16:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2016 18:32:12 +0000 (11:32 -0700)
commitcb736fdbb208eb3420f1a2eb2bfc024a6e9dcada
treefe745222354d12a358e35e5df8d6ac4afebff3ee
parentd0796b555ba60c22eb41ae39a8362156cb08eee9
sparc64: Convert U1copy_{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/U1copy_from_user.S
arch/sparc/lib/U1copy_to_user.S
arch/sparc/lib/U1memcpy.S