]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/score/include/asm/uaccess.h
score: add address space annotations
[karo-tx-linux.git] / arch / score / include / asm / uaccess.h
index 43ce28a1d0fc441c7046232b9ac265e141e272bf..6f09e2b7ddb9b8f8f5b7c588564605d2f99eeac2 100644 (file)
@@ -13,9 +13,9 @@ extern int fixup_exception(struct pt_regs *regs);
 #ifndef __ASSEMBLY__
 
 #define __range_ok(addr, size)                                 \
-       ((((unsigned long)(addr) >= 0x80000000)                 \
+       ((((unsigned long __force)(addr) >= 0x80000000)                 \
        || ((unsigned long)(size) > 0x80000000)                 \
-       || (((unsigned long)(addr) + (unsigned long)(size)) > 0x80000000)))
+       || (((unsigned long __force)(addr) + (unsigned long)(size)) > 0x80000000)))
 
 #define __access_ok(addr, size) \
        (__range_ok((addr), (size)) == 0)