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