mm/kmap: Fix bad dependency to ARCH_VMA_MAPPING

kmap does not need ARCH_VMA_MAPPING => remove the dependency
This commit is contained in:
Ville Juven 2023-11-01 16:26:34 +02:00 committed by Petro Karashchenko
parent 2f9c082f8f
commit 8a2d3958e9
2 changed files with 2 additions and 4 deletions

View File

@ -686,7 +686,6 @@ config ARCH_SHM_VBASE
config ARCH_KMAP_VBASE config ARCH_KMAP_VBASE
hex "Kernel dynamic virtual mappings base" hex "Kernel dynamic virtual mappings base"
depends on ARCH_VMA_MAPPING
---help--- ---help---
The virtual address of the beginning of the kernel dynamic mapping The virtual address of the beginning of the kernel dynamic mapping
region. region.
@ -743,6 +742,8 @@ config ARCH_SHM_NPAGES
maximum number of pages per region, and the configured size of maximum number of pages per region, and the configured size of
each page. each page.
endif # ARCH_VMA_MAPPING
config ARCH_KMAP_NPAGES config ARCH_KMAP_NPAGES
int "Max kernel dynamic mapping pages" int "Max kernel dynamic mapping pages"
default 1 default 1
@ -755,8 +756,6 @@ config ARCH_KMAP_NPAGES
maximum number of pages per region, and the configured size of maximum number of pages per region, and the configured size of
each page. each page.
endif # ARCH_VMA_MAPPING
config ARCH_STACK_DYNAMIC config ARCH_STACK_DYNAMIC
bool "Dynamic user stack" bool "Dynamic user stack"
default n default n

View File

@ -198,7 +198,6 @@ config MM_KMAP
bool "Support for dynamic kernel virtual mappings" bool "Support for dynamic kernel virtual mappings"
default n default n
depends on MM_PGALLOC && BUILD_KERNEL depends on MM_PGALLOC && BUILD_KERNEL
select ARCH_VMA_MAPPING
---help--- ---help---
Build support for dynamically mapping pages from the page pool into Build support for dynamically mapping pages from the page pool into
kernel virtual memory. This includes pages that are already mapped kernel virtual memory. This includes pages that are already mapped