mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 16:30:55 +07:00
421c175c4d
Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
19 lines
325 B
C
19 lines
325 B
C
#ifndef _ASM_S390_SPARSEMEM_H
|
|
#define _ASM_S390_SPARSEMEM_H
|
|
|
|
#ifdef CONFIG_64BIT
|
|
|
|
#define SECTION_SIZE_BITS 28
|
|
#define MAX_PHYSADDR_BITS 42
|
|
#define MAX_PHYSMEM_BITS 42
|
|
|
|
#else
|
|
|
|
#define SECTION_SIZE_BITS 25
|
|
#define MAX_PHYSADDR_BITS 31
|
|
#define MAX_PHYSMEM_BITS 31
|
|
|
|
#endif /* CONFIG_64BIT */
|
|
|
|
#endif /* _ASM_S390_SPARSEMEM_H */
|