xref: /OK3568_Linux_fs/kernel/tools/include/uapi/asm-generic/bitsperlong.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun #ifndef _UAPI__ASM_GENERIC_BITS_PER_LONG
2*4882a593Smuzhiyun #define _UAPI__ASM_GENERIC_BITS_PER_LONG
3*4882a593Smuzhiyun 
4*4882a593Smuzhiyun /*
5*4882a593Smuzhiyun  * There seems to be no way of detecting this automatically from user
6*4882a593Smuzhiyun  * space, so 64 bit architectures should override this in their
7*4882a593Smuzhiyun  * bitsperlong.h. In particular, an architecture that supports
8*4882a593Smuzhiyun  * both 32 and 64 bit user space must not rely on CONFIG_64BIT
9*4882a593Smuzhiyun  * to decide it, but rather check a compiler provided macro.
10*4882a593Smuzhiyun  */
11*4882a593Smuzhiyun #ifndef __BITS_PER_LONG
12*4882a593Smuzhiyun #define __BITS_PER_LONG 32
13*4882a593Smuzhiyun #endif
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun #endif /* _UAPI__ASM_GENERIC_BITS_PER_LONG */
16