xref: /openbmc/qemu/linux-headers/asm-x86/bitsperlong.h (revision 45eabb2ede0caf2f3dd0e1ace045d0915c53ef4d)
1*43370036SMichael S. Tsirkin /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2*43370036SMichael S. Tsirkin #ifndef __ASM_X86_BITSPERLONG_H
3*43370036SMichael S. Tsirkin #define __ASM_X86_BITSPERLONG_H
4*43370036SMichael S. Tsirkin 
5*43370036SMichael S. Tsirkin #if defined(__x86_64__) && !defined(__ILP32__)
6*43370036SMichael S. Tsirkin # define __BITS_PER_LONG 64
7*43370036SMichael S. Tsirkin #else
8*43370036SMichael S. Tsirkin # define __BITS_PER_LONG 32
9*43370036SMichael S. Tsirkin #endif
10*43370036SMichael S. Tsirkin 
11*43370036SMichael S. Tsirkin #include <asm-generic/bitsperlong.h>
12*43370036SMichael S. Tsirkin 
13*43370036SMichael S. Tsirkin #endif /* __ASM_X86_BITSPERLONG_H */
14*43370036SMichael S. Tsirkin 
15