提交 2c305417 编写于 作者: A Al Viro

metag: kill verify_area()

Deprecated in 2.6.12, killed in 2.6.13.  Time to end that depravity,
let's bury the body...
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 8b9a7e56
...@@ -47,11 +47,6 @@ static inline int __access_ok(unsigned long addr, unsigned long size) ...@@ -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), \ #define access_ok(type, addr, size) __access_ok((unsigned long)(addr), \
(unsigned long)(size)) (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> #include <asm/extable.h>
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册