From e43fa18e4d453152698b6e4919d7b6eecde2b6d0 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sun, 16 Feb 2025 12:25:44 -0500 Subject: [PATCH] arch: mmu: do not make MMU user configurable MMU option is selected by the MMU implementation, i.e. X86_MMU or ARM_MMU selects MMU. Signed-off-by: Anas Nashif --- kernel/Kconfig.vm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kernel/Kconfig.vm b/kernel/Kconfig.vm index 923d511d9db..a8105d03da0 100644 --- a/kernel/Kconfig.vm +++ b/kernel/Kconfig.vm @@ -98,8 +98,10 @@ config KERNEL_DIRECT_MAP endif # KERNEL_VM_SUPPORT -menuconfig MMU - bool "MMU features" +menu "MMU Features" + +config MMU + bool depends on CPU_HAS_MMU select KERNEL_VM_SUPPORT help @@ -206,6 +208,7 @@ config DEMAND_PAGING_TIMING_HISTOGRAM_NUM_BINS endif # DEMAND_PAGING endif # MMU +endmenu config KERNEL_VM_USE_CUSTOM_MEM_RANGE_CHECK bool