sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.
authorDavid S. Miller <davem@davemloft.net>
Tue, 25 Oct 2016 02:32:12 +0000 (19:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Oct 2016 02:32:12 +0000 (19:32 -0700)
commit7ae3aaf53f1695877ccd5ebbc49ea65991e41f1e
treee8c03b1bf27e6822f2f5486b6211573fd17a0b94
parent95707704800988093a9b9a27e0f2f67f5b4bf2fa
sparc64: Convert NGcopy_{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/NGcopy_from_user.S
arch/sparc/lib/NGcopy_to_user.S
arch/sparc/lib/NGmemcpy.S