aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2012-10-16 18:48:10 -0400
committerRalf Baechle <ralf@linux-mips.org>2012-12-12 10:48:47 -0500
commitaa1762f49c81a14d0453e4f67f922e4f155510a3 (patch)
treeba9c7318105db788ededd51e57b568793be0d5fa /arch/mips/Kconfig
parentc17a6554782ad531f4713b33fd6339ba67ef6391 (diff)
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/Kconfig')
-rw-r--r--arch/mips/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index dba9390d37cf..397194a263ce 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1077,6 +1077,9 @@ config SYS_SUPPORTS_HUGETLBFS
1077 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT 1077 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
1078 default y 1078 default y
1079 1079
1080config MIPS_HUGE_TLB_SUPPORT
1081 def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
1082
1080config IRQ_CPU 1083config IRQ_CPU
1081 bool 1084 bool
1082 1085