xref: /linux/tools/arch/parisc/include/uapi/asm/bitsperlong.h (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef __ASM_PARISC_BITSPERLONG_H
3 #define __ASM_PARISC_BITSPERLONG_H
4 
5 #if defined(__LP64__)
6 #define __BITS_PER_LONG 64
7 #define SHIFT_PER_LONG 6
8 #else
9 #define __BITS_PER_LONG 32
10 #define SHIFT_PER_LONG 5
11 #endif
12 
13 #include <asm-generic/bitsperlong.h>
14 
15 #endif /* __ASM_PARISC_BITSPERLONG_H */
16