sparc64: Convert copy_in_user to accurate exception reporting.
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Aug 2016 22:08:18 +0000 (15:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2016 18:31:58 +0000 (11:31 -0700)
commit0096ac9f47b1a2e851b3165d44065d18e5f13d58
treeac30018b208a8236dac7f0d2b54262767e3cc18e
parent83a17d2661674d8c198adc0e183418f72aabab79
sparc64: Convert copy_in_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/copy_in_user.S