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