mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 */
|