Commit | Line | Data |
---|---|---|
17f34580 HC |
1 | #ifndef _ASM_S390_SPARSEMEM_H |
2 | #define _ASM_S390_SPARSEMEM_H | |
3 | ||
17f34580 HC |
4 | #ifdef CONFIG_64BIT |
5 | ||
421c175c | 6 | #define SECTION_SIZE_BITS 28 |
17f34580 HC |
7 | #define MAX_PHYSADDR_BITS 42 |
8 | #define MAX_PHYSMEM_BITS 42 | |
9 | ||
10 | #else | |
11 | ||
421c175c | 12 | #define SECTION_SIZE_BITS 25 |
17f34580 HC |
13 | #define MAX_PHYSADDR_BITS 31 |
14 | #define MAX_PHYSMEM_BITS 31 | |
15 | ||
16 | #endif /* CONFIG_64BIT */ | |
17 | ||
18 | #endif /* _ASM_S390_SPARSEMEM_H */ |