2008-04-30 19:38:47 +08:00
|
|
|
#ifndef _ASM_S390_SPARSEMEM_H
|
|
|
|
#define _ASM_S390_SPARSEMEM_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_64BIT
|
|
|
|
|
2008-07-14 15:59:18 +08:00
|
|
|
#define SECTION_SIZE_BITS 28
|
2011-12-27 18:27:07 +08:00
|
|
|
#define MAX_PHYSADDR_BITS 46
|
|
|
|
#define MAX_PHYSMEM_BITS 46
|
2008-04-30 19:38:47 +08:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
2008-07-14 15:59:18 +08:00
|
|
|
#define SECTION_SIZE_BITS 25
|
2008-04-30 19:38:47 +08:00
|
|
|
#define MAX_PHYSADDR_BITS 31
|
|
|
|
#define MAX_PHYSMEM_BITS 31
|
|
|
|
|
|
|
|
#endif /* CONFIG_64BIT */
|
|
|
|
|
|
|
|
#endif /* _ASM_S390_SPARSEMEM_H */
|