提交 bde7db86 编写于 作者: S Sonic Zhang 提交者: Linus Torvalds

Blackfin arch: Change NO_ACCESS_CHECK to ACCESS_CHECK

Signed-off-by: NSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: NBryan Wu <bryan.wu@analog.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 c824498d
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <linux/string.h> #include <linux/string.h>
#include <asm/segment.h> #include <asm/segment.h>
#ifndef CONFIG_NO_ACCESS_CHECK #ifdef CONFIG_ACCESS_CHECK
# include <asm/bfin-global.h> # include <asm/bfin-global.h>
#endif #endif
...@@ -56,7 +56,7 @@ static inline int is_in_rom(unsigned long addr) ...@@ -56,7 +56,7 @@ static inline int is_in_rom(unsigned long addr)
* get_fs() == KERNEL_DS, checking is bypassed. * 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; } static inline int _access_ok(unsigned long addr, unsigned long size) { return 1; }
#else #else
#ifdef CONFIG_ACCESS_OK_L1 #ifdef CONFIG_ACCESS_OK_L1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册