diff options
-rw-r--r-- | include/asm-blackfin/uaccess.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-blackfin/uaccess.h b/include/asm-blackfin/uaccess.h index bfcb6794c67..2233f8f9314 100644 --- a/include/asm-blackfin/uaccess.h +++ b/include/asm-blackfin/uaccess.h | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/string.h> | 14 | #include <linux/string.h> |
15 | 15 | ||
16 | #include <asm/segment.h> | 16 | #include <asm/segment.h> |
17 | #ifndef CONFIG_NO_ACCESS_CHECK | 17 | #ifdef CONFIG_ACCESS_CHECK |
18 | # include <asm/bfin-global.h> | 18 | # include <asm/bfin-global.h> |
19 | #endif | 19 | #endif |
20 | 20 | ||
@@ -56,7 +56,7 @@ static inline int is_in_rom(unsigned long addr) | |||
56 | * get_fs() == KERNEL_DS, checking is bypassed. | 56 | * get_fs() == KERNEL_DS, checking is bypassed. |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #ifdef CONFIG_NO_ACCESS_CHECK | 59 | #ifndef CONFIG_ACCESS_CHECK |
60 | static inline int _access_ok(unsigned long addr, unsigned long size) { return 1; } | 60 | static inline int _access_ok(unsigned long addr, unsigned long size) { return 1; } |
61 | #else | 61 | #else |
62 | #ifdef CONFIG_ACCESS_OK_L1 | 62 | #ifdef CONFIG_ACCESS_OK_L1 |