diff options
author | David Daney <david.daney@cavium.com> | 2012-10-17 00:48:10 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-12-12 16:48:47 +0100 |
commit | aa1762f49c81a14d0453e4f67f922e4f155510a3 (patch) | |
tree | ba9c7318105db788ededd51e57b568793be0d5fa /arch/mips/include/asm/sparsemem.h | |
parent | c17a6554782ad531f4713b33fd6339ba67ef6391 (diff) | |
download | op-kernel-dev-aa1762f49c81a14d0453e4f67f922e4f155510a3.zip op-kernel-dev-aa1762f49c81a14d0453e4f67f922e4f155510a3.tar.gz |
MIPS: Control huge tlb support via Kconfig symbol MIPS_HUGE_TLB_SUPPORT
We need Huge TLBs for HUGETLB_PAGE, or the soon to follow
TRANSPARENT_HUGEPAGE. collect this information under a single Kconfig
symbol.
Signed-off-by: David Daney <david.daney@cavium.com>
Diffstat (limited to 'arch/mips/include/asm/sparsemem.h')
-rw-r--r-- | arch/mips/include/asm/sparsemem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/sparsemem.h b/arch/mips/include/asm/sparsemem.h index 4461198..65900da 100644 --- a/arch/mips/include/asm/sparsemem.h +++ b/arch/mips/include/asm/sparsemem.h @@ -6,7 +6,7 @@ * SECTION_SIZE_BITS 2^N: how big each section will be * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space */ -#if defined(CONFIG_HUGETLB_PAGE) && defined(CONFIG_PAGE_SIZE_64KB) +#if defined(CONFIG_MIPS_HUGE_TLB_SUPPORT) && defined(CONFIG_PAGE_SIZE_64KB) # define SECTION_SIZE_BITS 29 #else # define SECTION_SIZE_BITS 28 |