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:
8b9a7e5
)
metag: kill verify_area()
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 28 Dec 2016 06:26:29 +0000
(
01:26
-0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 28 Mar 2017 22:23:42 +0000
(18:23 -0400)
Deprecated in 2.6.12, killed in 2.6.13. Time to end that depravity,
let's bury the body...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/metag/include/asm/uaccess.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/metag/include/asm/uaccess.h
b/arch/metag/include/asm/uaccess.h
index 92ba79f63e7c473197fa000c733ef71d1f742c02..2613d91bde1aebe283aefd55830ea577704b332a 100644
(file)
--- a/
arch/metag/include/asm/uaccess.h
+++ b/
arch/metag/include/asm/uaccess.h
@@
-47,11
+47,6
@@
static inline int __access_ok(unsigned long addr, unsigned long size)
#define access_ok(type, addr, size) __access_ok((unsigned long)(addr), \
(unsigned long)(size))
-static inline int verify_area(int type, const void *addr, unsigned long size)
-{
- return access_ok(type, addr, size) ? 0 : -EFAULT;
-}
-
#include <asm/extable.h>
/*