blob: 0fb34027d3f6fbdc5a851f796a0e23d368bea071 [file] [log] [blame]
Heiko Carstens17f34582008-04-30 13:38:47 +02001#ifndef _ASM_S390_SPARSEMEM_H
2#define _ASM_S390_SPARSEMEM_H
3
Heiko Carstens17f34582008-04-30 13:38:47 +02004#ifdef CONFIG_64BIT
5
Heiko Carstens421c1752008-07-14 09:59:18 +02006#define SECTION_SIZE_BITS 28
Martin Schwidefsky14045eb2011-12-27 11:27:07 +01007#define MAX_PHYSADDR_BITS 46
8#define MAX_PHYSMEM_BITS 46
Heiko Carstens17f34582008-04-30 13:38:47 +02009
10#else
11
Heiko Carstens421c1752008-07-14 09:59:18 +020012#define SECTION_SIZE_BITS 25
Heiko Carstens17f34582008-04-30 13:38:47 +020013#define MAX_PHYSADDR_BITS 31
14#define MAX_PHYSMEM_BITS 31
15
16#endif /* CONFIG_64BIT */
17
18#endif /* _ASM_S390_SPARSEMEM_H */