X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fasm-v850%2Fuaccess.h;h=64563c409bb2219f2fcb24fa06e5f540a1aa0c59;hb=c135b6592bd63925397e60425e0301f33f06c7a6;hp=188b28597cf1f680a96f271fa7e3244ffdc74831;hpb=f7402dc44d617be807e7184c6c624611b2d35b4e;p=karo-tx-linux.git diff --git a/include/asm-v850/uaccess.h b/include/asm-v850/uaccess.h index 188b28597cf1..64563c409bb2 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.