diff --git a/arch/Kconfig b/arch/Kconfig index a3fee929276..c0818d8a729 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -792,15 +792,11 @@ endif # ARCH_VMA_MAPPING config ARCH_KMAP_NPAGES int "Max kernel dynamic mapping pages" default 1 + depends on MM_KMAP ---help--- The maximum amount of pages that a kernel can use for dynamically mapping physical pages to itself. - The size of the virtual shared memory address space is then - determined by the product of the maximum number of regions, the - maximum number of pages per region, and the configured size of - each page. - config ARCH_STACK_DYNAMIC bool "Dynamic user stack" default n