summaryrefslogtreecommitdiffstats
path: root/arch/m32r/lib/usercopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m32r/lib/usercopy.c')
-rw-r--r--arch/m32r/lib/usercopy.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/m32r/lib/usercopy.c b/arch/m32r/lib/usercopy.c
index 6aacf5ba0a58..b3ef2c899f96 100644
--- a/arch/m32r/lib/usercopy.c
+++ b/arch/m32r/lib/usercopy.c
@@ -11,28 +11,6 @@
#include <linux/thread_info.h>
#include <linux/uaccess.h>
-unsigned long
-__generic_copy_to_user(void __user *to, const void *from, unsigned long n)
-{
- prefetch(from);
- if (access_ok(VERIFY_WRITE, to, n))
- __copy_user(to,from,n);
- return n;
-}
-
-unsigned long
-__generic_copy_from_user(void *to, const void __user *from, unsigned long n)
-{
- unsigned long ret = n;
- prefetchw(to);
- if (access_ok(VERIFY_READ, from, n))
- ret = __copy_user(to,from,n);
- if (unlikely(ret))
- memset(to + n - ret, 0, ret);
- return ret;
-}
-
-
/*
* Copy a null terminated string from userspace.
*/