aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/sparsemem.h
blob: 06dfdab6c0e8412a305c1e2bbfba03354dd30176 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _ASM_S390_SPARSEMEM_H
#define _ASM_S390_SPARSEMEM_H

#define SECTION_SIZE_BITS	25

#ifdef CONFIG_64BIT

#define MAX_PHYSADDR_BITS	42
#define MAX_PHYSMEM_BITS	42

#else

#define MAX_PHYSADDR_BITS	31
#define MAX_PHYSMEM_BITS	31

#endif /* CONFIG_64BIT */

#endif /* _ASM_S390_SPARSEMEM_H */