[PATCH 6/7] Add hugetlb Kconfig option
From: bill4carson at gmail.com <hidden>
Date: 2012-01-30 07:57:17
Subsystem:
arm port, the rest · Maintainers:
Russell King, Linus Torvalds
From: bill4carson at gmail.com <hidden>
Date: 2012-01-30 07:57:17
Subsystem:
arm port, the rest · Maintainers:
Russell King, Linus Torvalds
From: Bill Carson <redacted> Signed-off-by: Bill Carson <redacted> --- arch/arm/Kconfig | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index a48aecc..161bca6 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig@@ -985,6 +985,35 @@ config ARCH_ZYNQ Support for Xilinx Zynq ARM Cortex A9 Platform endchoice +config SYS_SUPPORTS_HUGETLBFS + def_bool n + +config ARM_HUGETLB_SUPPORT + bool "Support HUGETLB for ARMv7 (EXPERIMENTAL)" + depends on CPU_V7 && EXPERIMENTAL + select SYS_SUPPORTS_HUGETLBFS + select HUGETLBFS + default y + +choice + prompt "Huge Page Size" + depends on ARM_HUGETLB_SUPPORT + default HUGEPAGE_SIZE_2MB + +config HUGEPAGE_SIZE_2MB + bool "2MB" + depends on ARM_HUGETLB_SUPPORT + help + This option select huge page size in 2MB units + +config HUGEPAGE_SIZE_16MB + bool "16MB" + depends on ARM_HUGETLB_SUPPORT + help + This option select huge page size in 16MB units + +endchoice + # # This is sorted alphabetically by mach-* pathname. However, plat-* # Kconfigs may be included either alphabetically (according to the
--
1.7.1