Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763165AbXEUKNB (ORCPT ); Mon, 21 May 2007 06:13:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761653AbXEUKJY (ORCPT ); Mon, 21 May 2007 06:09:24 -0400 Received: from nwd2mail11.analog.com ([137.71.25.57]:23653 "EHLO nwd2mail11.analog.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756582AbXEUKJN (ORCPT ); Mon, 21 May 2007 06:09:13 -0400 X-IronPort-AV: i="4.14,560,1170651600"; d="scan'208"; a="30505448:sNHT22313697" From: Bryan Wu To: torvalds@linux-foundation.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org Cc: Sonic Zhang , Bryan Wu Subject: [PATCH 26/32] Blackfin arch: Change NO_ACCESS_CHECK to ACCESS_CHECK Date: Mon, 21 May 2007 18:09:34 +0800 Message-Id: <11797421882159-git-send-email-bryan.wu@analog.com> X-Mailer: git-send-email 1.5.1.2 In-Reply-To: <1179742180228-git-send-email-bryan.wu@analog.com> References: <1179742180228-git-send-email-bryan.wu@analog.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1153 Lines: 37 From: Sonic Zhang Signed-off-by: Sonic Zhang Signed-off-by: Bryan Wu --- 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 #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 -- 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/