projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb8a50
)
ia64: get rid of copy_in_user()
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 28 Mar 2017 21:29:42 +0000
(17:29 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 6 Apr 2017 23:35:51 +0000
(19:35 -0400)
it hadn't been biarch for years
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/ia64/include/asm/uaccess.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/ia64/include/asm/uaccess.h
b/arch/ia64/include/asm/uaccess.h
index 22c4e6d5d1047ddb8a4100c530c3460428e6bc46..bd159723dfdedbaec68069ac5939961b51169e49 100644
(file)
--- 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)