diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2007-05-21 18:09:34 +0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-21 09:50:23 -0700 |
commit | bde7db8608cab31c6d92982b00e8064bd492a85b (patch) | |
tree | 867b4032be63567fc689ac3c7fdae6d7f42d064f /include/asm-blackfin | |
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/asm-blackfin')
-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 @@ #include <linux/string.h> #include <asm/segment.h> -#ifndef CONFIG_NO_ACCESS_CHECK +#ifdef CONFIG_ACCESS_CHECK # include <asm/bfin-global.h> #endif @@ -56,7 +56,7 @@ static inline int is_in_rom(unsigned long addr) * get_fs() == KERNEL_DS, checking is bypassed. */ -#ifdef CONFIG_NO_ACCESS_CHECK +#ifndef CONFIG_ACCESS_CHECK static inline int _access_ok(unsigned long addr, unsigned long size) { return 1; } #else #ifdef CONFIG_ACCESS_OK_L1 |