X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-m32r%2Fuaccess.h;h=bbb8ac4018a070d615d9df5d6fa356da3ed91ded;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=58530a34cecbcb0ab1b9c96e1b0fffe4035e698b;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475;p=linux-2.6.git diff --git a/include/asm-m32r/uaccess.h b/include/asm-m32r/uaccess.h index 58530a34c..bbb8ac401 100644 --- a/include/asm-m32r/uaccess.h +++ b/include/asm-m32r/uaccess.h @@ -121,7 +121,8 @@ static inline int access_ok(int type, const void *addr, unsigned long size) #endif /* CONFIG_MMU */ /** - * verify_area: - Obsolete, use access_ok() + * verify_area: - Obsolete/deprecated and will go away soon, + * use access_ok() instead. * @type: Type of access: %VERIFY_READ or %VERIFY_WRITE * @addr: User space pointer to start of block to check * @size: Size of block to check @@ -137,7 +138,7 @@ static inline int access_ok(int type, const void *addr, unsigned long size) * * See access_ok() for more details. */ -static inline int verify_area(int type, const void __user *addr, +static inline int __deprecated verify_area(int type, const void __user *addr, unsigned long size) { return access_ok(type, addr, size) ? 0 : -EFAULT;