mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 03:11:46 +00:00
17f3458085
Convert s390 to SPARSEMEM and SPARSEMEM_VMEMMAP. We do a select of SPARSEMEM_VMEMMAP since it is configurable. This is because SPARSEMEM without SPARSEMEM_VMEMMAP gives us a hell of broken include dependencies that I don't want to fix. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
19 lines
297 B
C
19 lines
297 B
C
#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 */
|