summaryrefslogtreecommitdiff
path: root/arch/ia64
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-03-29 00:29:42 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-04-07 02:35:51 +0300
commit652c1aaca2a026d374d139058e8e7f3175e861d6 (patch)
treebe7ccb1bd9a2c1d1126c6099303bb04cadb85268 /arch/ia64
parent7bb8a503e8fad51e4fb5ed2453b9e23bedd82012 (diff)
downloadlinux-652c1aaca2a026d374d139058e8e7f3175e861d6.tar.xz
ia64: get rid of copy_in_user()
it hadn't been biarch for years Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/include/asm/uaccess.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/ia64/include/asm/uaccess.h b/arch/ia64/include/asm/uaccess.h
index 22c4e6d5d104..bd159723dfde 100644
--- a/arch/ia64/include/asm/uaccess.h
+++ b/arch/ia64/include/asm/uaccess.h
@@ -276,16 +276,6 @@ copy_from_user(void *to, const void __user *from, unsigned long n)
return n;
}
-#define __copy_in_user(to, from, size) __copy_user((to), (from), (size))
-
-static inline unsigned long
-copy_in_user (void __user *to, const void __user *from, unsigned long n)
-{
- if (likely(access_ok(VERIFY_READ, from, n) && access_ok(VERIFY_WRITE, to, n)))
- n = __copy_user(to, from, n);
- return n;
-}
-
extern unsigned long __do_clear_user (void __user *, unsigned long);
#define __clear_user(to, n) __do_clear_user(to, n)