OSHW-DEIMOS/SOFTWARE/A64-TERES/linux-a64/include/uapi/asm-generic/bitsperlong.h
Dimitar Gamishev f9b0e7a283 linux
2017-10-13 14:07:04 +03:00

16 lines
516 B
C

#ifndef _UAPI__ASM_GENERIC_BITS_PER_LONG
#define _UAPI__ASM_GENERIC_BITS_PER_LONG
/*
* There seems to be no way of detecting this automatically from user
* space, so 64 bit architectures should override this in their
* bitsperlong.h. In particular, an architecture that supports
* both 32 and 64 bit user space must not rely on CONFIG_64BIT
* to decide it, but rather check a compiler provided macro.
*/
#ifndef __BITS_PER_LONG
#define __BITS_PER_LONG 32
#endif
#endif /* _UAPI__ASM_GENERIC_BITS_PER_LONG */