lkml.org 
[lkml]   [2007]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 26/32] Blackfin arch: Change NO_ACCESS_CHECK to ACCESS_CHECK
    Date
    From: Sonic Zhang <sonic.zhang@analog.com>

    Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
    Signed-off-by: Bryan Wu <bryan.wu@analog.com>
    ---
    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 bfcb679..2233f8f 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
    --
    1.5.1.2
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2007-05-21 12:17    [W:0.023 / U:0.364 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site