tools/arch/parisc/include/uapi/asm/bitsperlong.h
raw| 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 */ |