2008-04-30 11:38:47 +00:00
|
|
|
#ifndef _ASM_S390_SPARSEMEM_H
|
|
|
|
#define _ASM_S390_SPARSEMEM_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_64BIT
|
|
|
|
|
2008-07-14 07:59:18 +00:00
|
|
|
#define SECTION_SIZE_BITS 28
|
2008-04-30 11:38:47 +00:00
|
|
|
#define MAX_PHYSADDR_BITS 42
|
|
|
|
#define MAX_PHYSMEM_BITS 42
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
2008-07-14 07:59:18 +00:00
|
|
|
#define SECTION_SIZE_BITS 25
|
2008-04-30 11:38:47 +00:00
|
|
|
#define MAX_PHYSADDR_BITS 31
|
|
|
|
#define MAX_PHYSMEM_BITS 31
|
|
|
|
|
|
|
|
#endif /* CONFIG_64BIT */
|
|
|
|
|
|
|
|
#endif /* _ASM_S390_SPARSEMEM_H */
|