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>
This commit is contained in:
David S. Miller 2016-10-24 18:58:05 -07:00
commit 9570770480
3 changed files with 231 additions and 79 deletions