X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-v850%2Fuaccess.h;h=64563c409bb2219f2fcb24fa06e5f540a1aa0c59;hb=6553daeafb4fa15cd07088f543352fa3779e86e1;hp=188b28597cf1f680a96f271fa7e3244ffdc74831;hpb=0481990b758628e12f4b0a9e15094e70cefc7cd1;p=linux-2.6 diff --git a/include/asm-v850/uaccess.h b/include/asm-v850/uaccess.h index 188b28597c..64563c409b 100644 --- a/include/asm-v850/uaccess.h +++ b/include/asm-v850/uaccess.h @@ -14,7 +14,7 @@ #define VERIFY_READ 0 #define VERIFY_WRITE 1 -extern inline int access_ok (int type, const void *addr, unsigned long size) +static inline int access_ok (int type, const void *addr, unsigned long size) { /* XXX I guess we should check against real ram bounds at least, and possibly make sure ADDR is not within the kernel.