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