diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-19 20:28:30 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-29 00:23:31 +0200 |
commit | b71f1bf57f995ae4ce0fe2f907604c841ca8493f (patch) | |
tree | c38e9a3c1d58d88cde3a7a0480f8b52abae26235 /arch/cris/arch-v10 | |
parent | cris: get rid of zeroing (diff) | |
download | linux-b71f1bf57f995ae4ce0fe2f907604c841ca8493f.tar.xz linux-b71f1bf57f995ae4ce0fe2f907604c841ca8493f.zip |
cris: rename __copy_user_zeroing to __copy_user_in
... now that it doesn't zero anymore
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/cris/arch-v10')
-rw-r--r-- | arch/cris/arch-v10/lib/usercopy.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/cris/arch-v10/lib/usercopy.c b/arch/cris/arch-v10/lib/usercopy.c index 80b72199bdc4..48fa37fe0f9b 100644 --- a/arch/cris/arch-v10/lib/usercopy.c +++ b/arch/cris/arch-v10/lib/usercopy.c @@ -188,11 +188,10 @@ unsigned long __copy_user(void __user *pdst, const void *psrc, unsigned long pn) } EXPORT_SYMBOL(__copy_user); -/* Copy from user to kernel, zeroing the bytes that were inaccessible in - userland. The return-value is the number of bytes that were +/* Copy from user to kernel. The return-value is the number of bytes that were inaccessible. */ -unsigned long __copy_user_zeroing(void *pdst, const void __user *psrc, +unsigned long __copy_user_in(void *pdst, const void __user *psrc, unsigned long pn) { /* We want the parameters put in special registers. @@ -357,7 +356,7 @@ unsigned long __copy_user_zeroing(void *pdst, const void __user *psrc, exception: return retn + n; } -EXPORT_SYMBOL(__copy_user_zeroing); +EXPORT_SYMBOL(__copy_user_in); /* Zero userspace. */ unsigned long __do_clear_user(void __user *pto, unsigned long pn) |