Skip to content

Commit

Permalink
Blackfin arch: Change NO_ACCESS_CHECK to ACCESS_CHECK
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sonic Zhang authored and Linus Torvalds committed May 21, 2007
1 parent c824498 commit bde7db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-blackfin/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bde7db8

Please sign in to comment.