From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X7KjA-0000lx-NI for barebox@lists.infradead.org; Wed, 16 Jul 2014 08:38:17 +0000 From: Sascha Hauer Date: Wed, 16 Jul 2014 10:37:50 +0200 Message-Id: <1405499873-6385-2-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1405499873-6385-1-git-send-email-s.hauer@pengutronix.de> References: <1405499873-6385-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/4] X86: Move BITS_PER_LONG definition to types.h To: barebox@lists.infradead.org Because that's where it belongs. Signed-off-by: Sascha Hauer --- arch/x86/include/asm/bitops.h | 2 -- arch/x86/include/asm/types.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/bitops.h b/arch/x86/include/asm/bitops.h index d741e44..e525812 100644 --- a/arch/x86/include/asm/bitops.h +++ b/arch/x86/include/asm/bitops.h @@ -23,8 +23,6 @@ #ifndef _ASM_X86_BITOPS_H_ #define _ASM_X86_BITOPS_H_ -#define BITS_PER_LONG 32 - #include #include #include diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h index d473405..b3fd1f6 100644 --- a/arch/x86/include/asm/types.h +++ b/arch/x86/include/asm/types.h @@ -41,6 +41,8 @@ typedef unsigned int u32; typedef signed long long s64; typedef unsigned long long u64; +#define BITS_PER_LONG 32 + #endif /* __ASSEMBLY__ */ #endif /* __ASM_X86_TYPES_H */ -- 2.0.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox