diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2007-05-21 06:09:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-21 12:50:23 -0400 |
commit | bde7db8608cab31c6d92982b00e8064bd492a85b (patch) | |
tree | 867b4032be63567fc689ac3c7fdae6d7f42d064f /include | |
parent | c824498db47285aeff430c007685a193b673c949 (diff) |
Blackfin arch: Change NO_ACCESS_CHECK to ACCESS_CHECK
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-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 bfcb6794c672..2233f8f9314d 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 |