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