diff options
Diffstat (limited to 'kernel/arch/powerpc/include/uapi/asm/bitsperlong.h')
-rw-r--r-- | kernel/arch/powerpc/include/uapi/asm/bitsperlong.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/arch/powerpc/include/uapi/asm/bitsperlong.h b/kernel/arch/powerpc/include/uapi/asm/bitsperlong.h new file mode 100644 index 000000000..5f1659032 --- /dev/null +++ b/kernel/arch/powerpc/include/uapi/asm/bitsperlong.h @@ -0,0 +1,12 @@ +#ifndef __ASM_POWERPC_BITSPERLONG_H +#define __ASM_POWERPC_BITSPERLONG_H + +#if defined(__powerpc64__) +# define __BITS_PER_LONG 64 +#else +# define __BITS_PER_LONG 32 +#endif + +#include <asm-generic/bitsperlong.h> + +#endif /* __ASM_POWERPC_BITSPERLONG_H */ |