forked from Minki/linux
d8f5457ab9
The gcc compiler provide the predefined __LP64__ macro. Use that instead. Signed-off-by: Helge Deller <deller@gmx.de>
15 lines
289 B
C
15 lines
289 B
C
#ifndef __ASM_PARISC_BITSPERLONG_H
|
|
#define __ASM_PARISC_BITSPERLONG_H
|
|
|
|
#if defined(__LP64__)
|
|
#define __BITS_PER_LONG 64
|
|
#define SHIFT_PER_LONG 6
|
|
#else
|
|
#define __BITS_PER_LONG 32
|
|
#define SHIFT_PER_LONG 5
|
|
#endif
|
|
|
|
#include <asm-generic/bitsperlong.h>
|
|
|
|
#endif /* __ASM_PARISC_BITSPERLONG_H */
|