diff options
Diffstat (limited to 'tools/include/uapi/asm/bitsperlong.h')
| -rw-r--r-- | tools/include/uapi/asm/bitsperlong.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/include/uapi/asm/bitsperlong.h b/tools/include/uapi/asm/bitsperlong.h new file mode 100644 index 000000000000..8dd6aefdafa4 --- /dev/null +++ b/tools/include/uapi/asm/bitsperlong.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 2 | #if defined(__i386__) || defined(__x86_64__) | ||
| 3 | #include "../../arch/x86/include/uapi/asm/bitsperlong.h" | ||
| 4 | #elif defined(__aarch64__) | ||
| 5 | #include "../../arch/arm64/include/uapi/asm/bitsperlong.h" | ||
| 6 | #elif defined(__powerpc__) | ||
| 7 | #include "../../arch/powerpc/include/uapi/asm/bitsperlong.h" | ||
| 8 | #elif defined(__s390__) | ||
| 9 | #include "../../arch/s390/include/uapi/asm/bitsperlong.h" | ||
| 10 | #elif defined(__sparc__) | ||
| 11 | #include "../../arch/sparc/include/uapi/asm/bitsperlong.h" | ||
| 12 | #elif defined(__mips__) | ||
| 13 | #include "../../arch/mips/include/uapi/asm/bitsperlong.h" | ||
| 14 | #elif defined(__ia64__) | ||
| 15 | #include "../../arch/ia64/include/uapi/asm/bitsperlong.h" | ||
| 16 | #else | ||
| 17 | #include <asm-generic/bitsperlong.h> | ||
| 18 | #endif | ||
