Arnd Bergmann | c31ae4b | 2009-05-13 22:56:25 +0000 | [diff] [blame] | 1 | #ifndef __ASM_X86_BITSPERLONG_H |
2 | #define __ASM_X86_BITSPERLONG_H | ||||
3 | |||||
Ben Hutchings | f4b4aae | 2015-10-01 01:40:43 +0100 | [diff] [blame] | 4 | #if defined(__x86_64__) && !defined(__ILP32__) |
Arnd Bergmann | c31ae4b | 2009-05-13 22:56:25 +0000 | [diff] [blame] | 5 | # define __BITS_PER_LONG 64 |
6 | #else | ||||
7 | # define __BITS_PER_LONG 32 | ||||
8 | #endif | ||||
9 | |||||
10 | #include <asm-generic/bitsperlong.h> | ||||
11 | |||||
12 | #endif /* __ASM_X86_BITSPERLONG_H */ | ||||
13 |