From: Mike Rapoport (IBM) Date: Fri, 24 Mar 2023 05:22:24 +0000 (+0300) Subject: ia64: don't allow users to override ARCH_FORCE_MAX_ORDER X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9d0f7a5780ef83e6e31581f90e73df9062d34470;p=linux.git ia64: don't allow users to override ARCH_FORCE_MAX_ORDER It is enough to keep default values for base and huge pages without letting users to override ARCH_FORCE_MAX_ORDER. Drop the prompt to make the option unvisible in *config. Link: https://lkml.kernel.org/r/20230324052233.2654090-6-rppt@kernel.org Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov Reviewed-by: Zi Yan Cc: Arnd Bergmann Cc: Catalin Marinas Cc: Christophe Leroy Cc: David Miller Cc: Dinh Nguyen Cc: Geert Uytterhoeven Cc: Guo Ren Cc: John Paul Adrian Glaubitz Cc: Max Filippov Cc: Michael Ellerman Cc: Rich Felker Cc: "Russell King (Oracle)" Cc: Will Deacon Cc: Yoshinori Sato Signed-off-by: Andrew Morton --- diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 0d2f41fa56ee1..b61437cae162e 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -202,8 +202,7 @@ config IA64_CYCLONE If you're unsure, answer N. config ARCH_FORCE_MAX_ORDER - int "MAX_ORDER (10 - 16)" if !HUGETLB_PAGE - range 10 16 if !HUGETLB_PAGE + int default "16" if HUGETLB_PAGE default "10"