aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/sparsemem.h
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2012-10-17 00:48:10 +0200
committerRalf Baechle <ralf@linux-mips.org>2012-12-12 16:48:47 +0100
commitaa1762f49c81a14d0453e4f67f922e4f155510a3 (patch)
treeba9c7318105db788ededd51e57b568793be0d5fa /arch/mips/include/asm/sparsemem.h
parentMIPS: page.h: Provide more readable definition for PAGE_MASK. (diff)
downloadlinux-dev-aa1762f49c81a14d0453e4f67f922e4f155510a3.tar.xz
linux-dev-aa1762f49c81a14d0453e4f67f922e4f155510a3.zip
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/sparsemem.h b/arch/mips/include/asm/sparsemem.h
index 4461198361c9..65900dab3ad3 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