linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] let CMA depend on MMU
@ 2013-09-10 19:10 Uwe Kleine-König
  2013-09-16  9:15 ` Uwe Kleine-König
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2013-09-10 19:10 UTC (permalink / raw)
  To: Andrew Morton; +Cc: kernel, linux-mm

This fixes compilation on my no-MMU platform when enabling CMA because
several functions/macros like pte_offset_map, mk_pte, pte_unmap or
put_anon_vma are missing.

Signed-off-by: Uwe Kleine-KA?nig <u.kleine-koenig@pengutronix.de>
---
 mm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/Kconfig b/mm/Kconfig
index 6cdd270..d761f3d 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -480,7 +480,7 @@ config FRONTSWAP
 
 config CMA
 	bool "Contiguous Memory Allocator"
-	depends on HAVE_MEMBLOCK
+	depends on HAVE_MEMBLOCK && MMU
 	select MIGRATION
 	select MEMORY_ISOLATION
 	help
-- 
1.8.4.rc3

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-16  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10 19:10 [PATCH] let CMA depend on MMU Uwe Kleine-König
2013-09-16  9:15 ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).