diff options
-rw-r--r-- | mm/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index 6cdd27043303..026771a9b097 100644 --- a/mm/Kconfig +++ b/mm/Kconfig | |||
@@ -245,7 +245,7 @@ config COMPACTION | |||
245 | config MIGRATION | 245 | config MIGRATION |
246 | bool "Page migration" | 246 | bool "Page migration" |
247 | def_bool y | 247 | def_bool y |
248 | depends on NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE || COMPACTION || CMA | 248 | depends on (NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE || COMPACTION || CMA) && MMU |
249 | help | 249 | help |
250 | Allows the migration of the physical location of pages of processes | 250 | Allows the migration of the physical location of pages of processes |
251 | while the virtual addresses are not changed. This is useful in | 251 | while the virtual addresses are not changed. This is useful in |
@@ -480,7 +480,7 @@ config FRONTSWAP | |||
480 | 480 | ||
481 | config CMA | 481 | config CMA |
482 | bool "Contiguous Memory Allocator" | 482 | bool "Contiguous Memory Allocator" |
483 | depends on HAVE_MEMBLOCK | 483 | depends on HAVE_MEMBLOCK && MMU |
484 | select MIGRATION | 484 | select MIGRATION |
485 | select MEMORY_ISOLATION | 485 | select MEMORY_ISOLATION |
486 | help | 486 | help |