]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/parisc/include/asm/uaccess.h
parisc: Avoid compiler warnings with access_ok()
[linux.git] / arch / parisc / include / asm / uaccess.h
index fb4382c28259b3ff2f873014fce7e42f1373dac8..edfbf9d6a6dd76adae077d49d76a236d299bceda 100644 (file)
@@ -32,7 +32,8 @@
  * that put_user is the same as __put_user, etc.
  */
 
-#define access_ok(type, uaddr, size) (1)
+#define access_ok(type, uaddr, size)   \
+       ( (uaddr) == (uaddr) )
 
 #define put_user __put_user
 #define get_user __get_user