From 0d57d70dfbb753c0f017daff42a5e285c249f5b8 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 16 Jul 2014 09:39:03 +0200 Subject: X86: Move BITS_PER_LONG definition to types.h 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 d741e44d4a..e525812c97 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 d473405ff9..b3fd1f644b 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 */ -- cgit v1.2.3