diff options
author | John Williams | 2009-08-14 12:06:46 +1000 |
---|---|---|
committer | Michal Simek | 2009-12-14 08:45:03 +0100 |
commit | 95dfbbe4700016bddd7e8915e95a97652e70f495 (patch) | |
tree | b9be4c0bbeed4b1bb392aa3285e1c24906f27047 /arch/microblaze/lib | |
parent | fd6ed51f4f9c01b5cea4a8be50bf49b0ae2fbd51 (diff) |
microblaze: Simple __copy_tofrom_user for noMMU
This is first patch which clear part of uaccess.h.
uaccess.h will be clear later.
Signed-off-by: John Williams <john.williams@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/lib')
-rw-r--r-- | arch/microblaze/lib/uaccess.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/microblaze/lib/uaccess.c b/arch/microblaze/lib/uaccess.c index 8eb9df5a26c9..a853fe089c44 100644 --- a/arch/microblaze/lib/uaccess.c +++ b/arch/microblaze/lib/uaccess.c @@ -39,3 +39,10 @@ long strncpy_from_user(char *dst, const char __user *src, long count) __do_strncpy_from_user(dst, src, count, res); return res; } + +unsigned long __copy_tofrom_user(void __user *to, + const void __user *from, unsigned long size) +{ + memcpy(to, from, size); + return 0; +} |