mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
arch/Kconfig: remove virtual memory allocator dependency from MM_SHM
The dependency should be vice versa; the MM_SHM should depend on the existence of the virtual memory range allocator. Create a new CONFIG flag CONFIG_ARCH_VMA_MAPPING, which will define that there is a virtual memory range allocator. Make MM_SHM select that flag Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
committed by
Xiang Xiao
parent
fd0195b0d8
commit
70de321de3
@@ -162,6 +162,7 @@ config MM_SHM
|
||||
bool "Shared memory support"
|
||||
default n
|
||||
depends on MM_PGALLOC && BUILD_KERNEL
|
||||
select ARCH_VMA_MAPPING
|
||||
---help---
|
||||
Build in support for the shared memory interfaces shmget(), shmat(),
|
||||
shmctl(), and shmdt().
|
||||
|
||||
Reference in New Issue
Block a user