Heiko Carstens | 17f3458 | 2008-04-30 13:38:47 +0200 | [diff] [blame] | 1 | #ifndef _ASM_S390_SPARSEMEM_H |
2 | #define _ASM_S390_SPARSEMEM_H | ||||
3 | |||||
4 | #define SECTION_SIZE_BITS 25 | ||||
5 | |||||
6 | #ifdef CONFIG_64BIT | ||||
7 | |||||
8 | #define MAX_PHYSADDR_BITS 42 | ||||
9 | #define MAX_PHYSMEM_BITS 42 | ||||
10 | |||||
11 | #else | ||||
12 | |||||
13 | #define MAX_PHYSADDR_BITS 31 | ||||
14 | #define MAX_PHYSMEM_BITS 31 | ||||
15 | |||||
16 | #endif /* CONFIG_64BIT */ | ||||
17 | |||||
18 | #endif /* _ASM_S390_SPARSEMEM_H */ |