verify_area is deprecated, replaced by access_ok. Seems I missed this one

when I did the big overall conversion.
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
main
Dave Airlie 2005-03-25 09:47:36 +00:00
parent ca04fbc7ba
commit 2ad8387428
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ static __inline__ int mtrr_del(int reg, unsigned long base, unsigned long size)
copy_to_user(arg1, arg2, arg3)
/* Macros for copyfrom user, but checking readability only once */
#define DRM_VERIFYAREA_READ( uaddr, size ) \
verify_area( VERIFY_READ, uaddr, size )
(access_ok( VERIFY_READ, uaddr, size) ? 0 : -EFAULT)
#define DRM_COPY_FROM_USER_UNCHECKED(arg1, arg2, arg3) \
__copy_from_user(arg1, arg2, arg3)
#define DRM_COPY_TO_USER_UNCHECKED(arg1, arg2, arg3) \