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