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>
This commit is contained in:
David S. Miller 2016-08-15 16:07:50 -07:00
commit cb736fdbb2
3 changed files with 237 additions and 124 deletions