X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-blackfin%2Fuaccess.h;h=2233f8f9314d9db893c14c6fec0df747efe2af2b;hb=7616ee95f27a04fd5a6434e9ef4a82cec4b2807c;hp=bfcb6794c67267feca540012a826ab1056245a05;hpb=334d0dd8b660557608142f0f77abc6812b48f08b;p=linux-2.6 diff --git a/include/asm-blackfin/uaccess.h b/include/asm-blackfin/uaccess.h index bfcb6794c6..2233f8f931 100644 --- a/include/asm-blackfin/uaccess.h +++ b/include/asm-blackfin/uaccess.h @@ -14,7 +14,7 @@ #include #include -#ifndef CONFIG_NO_ACCESS_CHECK +#ifdef CONFIG_ACCESS_CHECK # include #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