You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/04/14 06:48:28 UTC

(nuttx) branch master updated: arch/kconfig: minor revision for KMAP_NPAGES

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 6d7355b929 arch/kconfig: minor revision for KMAP_NPAGES
6d7355b929 is described below

commit 6d7355b929939f96985ace3a2bb0b208d4cd49fa
Author: Yanfeng Liu <yf...@qq.com>
AuthorDate: Sun Apr 14 05:29:21 2024 +0800

    arch/kconfig: minor revision for KMAP_NPAGES
    
    Adds missing dependency to MM_KMAP, revises comments.
    
    Signed-off-by: Yanfeng Liu <yf...@qq.com>
---
 arch/Kconfig | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/arch/Kconfig b/arch/Kconfig
index a3fee92927..c0818d8a72 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