sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.
authorDavid S. Miller <davem@davemloft.net>
Tue, 25 Oct 2016 01:58:05 +0000 (18:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Oct 2016 01:58:05 +0000 (18:58 -0700)
commit95707704800988093a9b9a27e0f2f67f5b4bf2fa
treee910ba46194a2fbb5d5b6693b2c17514d8fbd8b3
parentcb736fdbb208eb3420f1a2eb2bfc024a6e9dcada
sparc64: Convert NG4copy_{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/NG4copy_from_user.S
arch/sparc/lib/NG4copy_to_user.S
arch/sparc/lib/NG4memcpy.S