X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-sparc%2Fuaccess.h;h=f8f1ec1f06e6ce840dc9cc5a7edc76ad03c63ebf;hb=d2d58384fc5d4c0fe2d8e34bc2d15a90a9bb372a;hp=0a780e84a12b749fd6f1e4381407f34affcb895b;hpb=fee02f80e68abbcc45ed3c5dd5ed09d04a284791;p=linux-2.6 diff --git a/include/asm-sparc/uaccess.h b/include/asm-sparc/uaccess.h index 0a780e84a1..f8f1ec1f06 100644 --- a/include/asm-sparc/uaccess.h +++ b/include/asm-sparc/uaccess.h @@ -47,12 +47,6 @@ #define access_ok(type, addr, size) \ ({ (void)(type); __access_ok((unsigned long)(addr), size); }) -/* this function will go away soon - use access_ok() instead */ -static inline int __deprecated verify_area(int type, const void __user * addr, unsigned long size) -{ - return access_ok(type,addr,size) ? 0 : -EFAULT; -} - /* * The exception table consists of pairs of addresses: the first is the * address of an instruction that is allowed to fault, and the second is