diff options
Diffstat (limited to 'include/asm-cris/uaccess.h')
-rw-r--r-- | include/asm-cris/uaccess.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-cris/uaccess.h b/include/asm-cris/uaccess.h index 6db17221fd9e..7d50086eb5ea 100644 --- a/include/asm-cris/uaccess.h +++ b/include/asm-cris/uaccess.h | |||
@@ -91,13 +91,6 @@ | |||
91 | #define __access_ok(addr,size) (__kernel_ok || __user_ok((addr),(size))) | 91 | #define __access_ok(addr,size) (__kernel_ok || __user_ok((addr),(size))) |
92 | #define access_ok(type,addr,size) __access_ok((unsigned long)(addr),(size)) | 92 | #define access_ok(type,addr,size) __access_ok((unsigned long)(addr),(size)) |
93 | 93 | ||
94 | /* this function will go away soon - use access_ok() instead */ | ||
95 | extern inline int __deprecated verify_area(int type, const void __user * addr, unsigned long size) | ||
96 | { | ||
97 | return access_ok(type,addr,size) ? 0 : -EFAULT; | ||
98 | } | ||
99 | |||
100 | |||
101 | #include <asm/arch/uaccess.h> | 94 | #include <asm/arch/uaccess.h> |
102 | 95 | ||
103 | /* | 96 | /* |