aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/bitsperlong.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/bitsperlong.h')
-rw-r--r--arch/powerpc/include/asm/bitsperlong.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/bitsperlong.h b/arch/powerpc/include/asm/bitsperlong.h
new file mode 100644
index 00000000000..5f1659032c4
--- /dev/null
+++ b/arch/powerpc/include/asm/bitsperlong.h
@@ -0,0 +1,12 @@
1#ifndef __ASM_POWERPC_BITSPERLONG_H
2#define __ASM_POWERPC_BITSPERLONG_H
3
4#if defined(__powerpc64__)
5# define __BITS_PER_LONG 64
6#else
7# define __BITS_PER_LONG 32
8#endif
9
10#include <asm-generic/bitsperlong.h>
11
12#endif /* __ASM_POWERPC_BITSPERLONG_H */