From e4daf808818f040801e2416d96e77d7ac9f64acc Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 21 May 2015 12:33:05 +0200 Subject: introduce bitsperlong.h for remaining architectures This introduces the bitsperlong.h file for the remaining architectures. It's purpose is to define BITS_PER_LONG which in the next step can be used by a generic posix_types.h file. Signed-off-by: Sascha Hauer --- arch/x86/include/asm/bitsperlong.h | 1 + arch/x86/include/asm/types.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 arch/x86/include/asm/bitsperlong.h (limited to 'arch/x86') diff --git a/arch/x86/include/asm/bitsperlong.h b/arch/x86/include/asm/bitsperlong.h new file mode 100644 index 0000000000..6dc0bb0c13 --- /dev/null +++ b/arch/x86/include/asm/bitsperlong.h @@ -0,0 +1 @@ +#include diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h index b3fd1f644b..d60612ff74 100644 --- a/arch/x86/include/asm/types.h +++ b/arch/x86/include/asm/types.h @@ -41,7 +41,7 @@ typedef unsigned int u32; typedef signed long long s64; typedef unsigned long long u64; -#define BITS_PER_LONG 32 +#include #endif /* __ASSEMBLY__ */ -- cgit v1.2.3