sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.
authorDavid S. Miller <davem@davemloft.net>
Tue, 25 Oct 2016 03:46:44 +0000 (20:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Oct 2016 03:46:44 +0000 (20:46 -0700)
commite93704e4464fdc191f73fce35129c18de2ebf95d
treeac1cda6857dde51b8c58410ba5464ede0e3d263b
parent7ae3aaf53f1695877ccd5ebbc49ea65991e41f1e
sparc64: Convert NG2copy_{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/NG2copy_from_user.S
arch/sparc/lib/NG2copy_to_user.S
arch/sparc/lib/NG2memcpy.S