diff options
Diffstat (limited to 'arch/sparc/include/uapi/asm/bitsperlong.h')
| -rw-r--r-- | arch/sparc/include/uapi/asm/bitsperlong.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/sparc/include/uapi/asm/bitsperlong.h b/arch/sparc/include/uapi/asm/bitsperlong.h new file mode 100644 index 000000000000..40dcaa3aaa56 --- /dev/null +++ b/arch/sparc/include/uapi/asm/bitsperlong.h | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | #ifndef __ASM_ALPHA_BITSPERLONG_H | ||
| 2 | #define __ASM_ALPHA_BITSPERLONG_H | ||
| 3 | |||
| 4 | #if defined(__sparc__) && defined(__arch64__) | ||
| 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_ALPHA_BITSPERLONG_H */ | ||
| 13 | |||
