From 57561faf7091a65315311f58461900ef54145674 Mon Sep 17 00:00:00 2001 From: Leonard Crestez Date: Wed, 27 Nov 2019 01:17:53 +0000 Subject: [PATCH] MLK-21599-1 arm64: Kconfig: Make FORCE_MAX_ZONEORDER configurable Older imx releases increased this based on SOC_IMX8 but that symbol is gone and the expectation is that SOC-selection symbols like "ARCH_MXC" will almost always be defined and shouldn't be used to make incompatible config decisions. Make the value of FORCE_MAX_ZONEORDER configurable so this can be adjusted in a .config file. Signed-off-by: Leonard Crestez Reviewed-by: Li Yang Signed-off-by: Dong Aisheng --- arch/arm64/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index a6b5b7ef40ae..6c69ec9d9eb7 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1149,7 +1149,7 @@ config XEN Say Y if you want to run Linux in a Virtual Machine on Xen on ARM64. config FORCE_MAX_ZONEORDER - int + int "Maximum zone order" default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE) default "12" if (ARM64_16K_PAGES && TRANSPARENT_HUGEPAGE) default "11" -- 2.17.1