aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2012-05-04 14:09:35 -0400
committerRalf Baechle <ralf@linux-mips.org>2012-05-15 11:47:02 -0400
commit85f993b807f9e7c843934493559fab430f8d989e (patch)
tree7960c6cae07fbece64ff1edccd74b4bf3e2c6fc4 /arch/mips/Kconfig
parentdaf76dbbb09f3937e71e9ef6d8fa68b306281d84 (diff)
MIPS: Handle huge pages with 64KB base page size.
When using sparsemem, we need to adjust some constants as the resulting huge pages are 512MB in size. Signed-off-by: David Daney <david.daney@cavium.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3745/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig10
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index ce30e2f91d77..6e041639a40d 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1786,10 +1786,12 @@ endchoice
1786 1786
1787config FORCE_MAX_ZONEORDER 1787config FORCE_MAX_ZONEORDER
1788 int "Maximum zone order" 1788 int "Maximum zone order"
1789 range 13 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB 1789 range 14 64 if HUGETLB_PAGE && PAGE_SIZE_64KB
1790 default "13" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB 1790 default "14" if HUGETLB_PAGE && PAGE_SIZE_64KB
1791 range 12 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB 1791 range 13 64 if HUGETLB_PAGE && PAGE_SIZE_32KB
1792 default "12" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB 1792 default "13" if HUGETLB_PAGE && PAGE_SIZE_32KB
1793 range 12 64 if HUGETLB_PAGE && PAGE_SIZE_16KB
1794 default "12" if HUGETLB_PAGE && PAGE_SIZE_16KB
1793 range 11 64 1795 range 11 64
1794 default "11" 1796 default "11"
1795 help 1797 help