arch/kconfig: revising kernel mapping configs

- Add ARCH_KVMA_MAPPING to guard kernel mapping.
- Set dependency from MM_KMAP to ARCH_KVMA_MAPPING, as per commit
  70de321de3.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
Yanfeng Liu
2024-04-14 05:29:21 +08:00
committed by Xiang Xiao
parent 3a844d8dd7
commit 8d4eae41c1
2 changed files with 7 additions and 2 deletions
+1
View File
@@ -198,6 +198,7 @@ config MM_KMAP
bool "Support for dynamic kernel virtual mappings"
default n
depends on MM_PGALLOC && BUILD_KERNEL
select ARCH_KVMA_MAPPING
---help---
Build support for dynamically mapping pages from the page pool into
kernel virtual memory. This includes pages that are already mapped