mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 04:15:27 +07:00
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 */
|