diff options
Diffstat (limited to 'arch/mips/include/asm/sparsemem.h')
-rw-r--r-- | arch/mips/include/asm/sparsemem.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/mips/include/asm/sparsemem.h b/arch/mips/include/asm/sparsemem.h index 65900dab3ad..7165333ad04 100644 --- a/arch/mips/include/asm/sparsemem.h +++ b/arch/mips/include/asm/sparsemem.h | |||
@@ -6,11 +6,7 @@ | |||
6 | * SECTION_SIZE_BITS 2^N: how big each section will be | 6 | * SECTION_SIZE_BITS 2^N: how big each section will be |
7 | * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space | 7 | * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space |
8 | */ | 8 | */ |
9 | #if defined(CONFIG_MIPS_HUGE_TLB_SUPPORT) && defined(CONFIG_PAGE_SIZE_64KB) | 9 | #define SECTION_SIZE_BITS 28 |
10 | # define SECTION_SIZE_BITS 29 | ||
11 | #else | ||
12 | # define SECTION_SIZE_BITS 28 | ||
13 | #endif | ||
14 | #define MAX_PHYSMEM_BITS 35 | 10 | #define MAX_PHYSMEM_BITS 35 |
15 | 11 | ||
16 | #endif /* CONFIG_SPARSEMEM */ | 12 | #endif /* CONFIG_SPARSEMEM */ |