18c2ecf20Sopenharmony_ci#ifndef _UAPI__ASM_GENERIC_BITS_PER_LONG
28c2ecf20Sopenharmony_ci#define _UAPI__ASM_GENERIC_BITS_PER_LONG
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci/*
58c2ecf20Sopenharmony_ci * There seems to be no way of detecting this automatically from user
68c2ecf20Sopenharmony_ci * space, so 64 bit architectures should override this in their
78c2ecf20Sopenharmony_ci * bitsperlong.h. In particular, an architecture that supports
88c2ecf20Sopenharmony_ci * both 32 and 64 bit user space must not rely on CONFIG_64BIT
98c2ecf20Sopenharmony_ci * to decide it, but rather check a compiler provided macro.
108c2ecf20Sopenharmony_ci */
118c2ecf20Sopenharmony_ci#ifndef __BITS_PER_LONG
128c2ecf20Sopenharmony_ci#define __BITS_PER_LONG 32
138c2ecf20Sopenharmony_ci#endif
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#endif /* _UAPI__ASM_GENERIC_BITS_PER_LONG */
16