xref: /openbmc/linux/arch/powerpc/include/uapi/asm/bitsperlong.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*6f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2c3617f72SDavid Howells #ifndef __ASM_POWERPC_BITSPERLONG_H
3c3617f72SDavid Howells #define __ASM_POWERPC_BITSPERLONG_H
4c3617f72SDavid Howells 
5c3617f72SDavid Howells #if defined(__powerpc64__)
6c3617f72SDavid Howells # define __BITS_PER_LONG 64
7c3617f72SDavid Howells #else
8c3617f72SDavid Howells # define __BITS_PER_LONG 32
9c3617f72SDavid Howells #endif
10c3617f72SDavid Howells 
11c3617f72SDavid Howells #include <asm-generic/bitsperlong.h>
12c3617f72SDavid Howells 
13c3617f72SDavid Howells #endif /* __ASM_POWERPC_BITSPERLONG_H */
14