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/efi/include/asm/bitsperlong.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 arch/efi/include/asm/bitsperlong.h (limited to 'arch/efi/include/asm/bitsperlong.h') diff --git a/arch/efi/include/asm/bitsperlong.h b/arch/efi/include/asm/bitsperlong.h new file mode 100644 index 0000000000..00c1fc2625 --- /dev/null +++ b/arch/efi/include/asm/bitsperlong.h @@ -0,0 +1,10 @@ +#ifndef __ASM_BITSPERLONG_H +#define __ASM_BITSPERLONG_H + +#ifdef __x86_64__ +#define BITS_PER_LONG 64 +#else +#define BITS_PER_LONG 32 +#endif + +#endif /* __ASM_BITSPERLONG_H */ -- cgit v1.2.3