xref: /OK3568_Linux_fs/kernel/tools/arch/x86/include/uapi/asm/bitsperlong.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2*4882a593Smuzhiyun #ifndef __ASM_X86_BITSPERLONG_H
3*4882a593Smuzhiyun #define __ASM_X86_BITSPERLONG_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun #if defined(__x86_64__) && !defined(__ILP32__)
6*4882a593Smuzhiyun # define __BITS_PER_LONG 64
7*4882a593Smuzhiyun #else
8*4882a593Smuzhiyun # define __BITS_PER_LONG 32
9*4882a593Smuzhiyun #endif
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #include <asm-generic/bitsperlong.h>
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun #endif /* __ASM_X86_BITSPERLONG_H */
14