sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git] / tools / include / asm-generic / bitsperlong.h
blob45eca517efb32180834f18be0163c8358df886a8
1 #ifndef __ASM_GENERIC_BITS_PER_LONG
2 #define __ASM_GENERIC_BITS_PER_LONG
4 #include <uapi/asm-generic/bitsperlong.h>
6 #ifdef __SIZEOF_LONG__
7 #define BITS_PER_LONG (__CHAR_BIT__ * __SIZEOF_LONG__)
8 #else
9 #define BITS_PER_LONG __WORDSIZE
10 #endif
12 #if BITS_PER_LONG != __BITS_PER_LONG
13 #error Inconsistent word size. Check asm/bitsperlong.h
14 #endif
16 #ifndef BITS_PER_LONG_LONG
17 #define BITS_PER_LONG_LONG 64
18 #endif
20 #endif /* __ASM_GENERIC_BITS_PER_LONG */