Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
[cascardo/linux.git] / include / asm-m68k / uaccess.h
index 5c1264c..7107f3f 100644 (file)
 #define VERIFY_WRITE   1
 
 /* We let the MMU do all checking */
-#define access_ok(type,addr,size) 1
+static inline int access_ok(int type, const void __user *addr,
+                           unsigned long size)
+{
+       return 1;
+}
 
 /*
  * The exception table consists of pairs of addresses: the first is the