X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-sparc%2Fuaccess.h;h=f8f1ec1f06e6ce840dc9cc5a7edc76ad03c63ebf;hb=ebad6a4230bdb5927495e28bc7837f515bf667a7;hp=0a780e84a12b749fd6f1e4381407f34affcb895b;hpb=0e396ee43e445cb7c215a98da4e76d0ce354d9d7;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