From: Marek Szyprowski Date: Mon, 20 Aug 2012 12:39:39 +0000 (+0200) Subject: ARM: relax conditions required for enabling Contiguous Memory Allocator X-Git-Tag: next-20120821~5^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=188b3079c9b77e078e6086d54c0145a5b97aef20;p=karo-tx-linux.git ARM: relax conditions required for enabling Contiguous Memory Allocator Contiguous Memory Allocator requires only paging and MMU enabled not particular CPU architectures, so there is no need for strict dependency on CPU type. This enables to use CMA on some older ARM v5 systems which also might need large contiguous blocks for the multimedia processing hw modules. Reported-by: Prabhakar Lad Signed-off-by: Marek Szyprowski Tested-by: Prabhakar Lad --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e91c7cdc6fe5..6ef75e2e1556 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -6,7 +6,7 @@ config ARM select HAVE_DMA_API_DEBUG select HAVE_IDE if PCI || ISA || PCMCIA select HAVE_DMA_ATTRS - select HAVE_DMA_CONTIGUOUS if (CPU_V6 || CPU_V6K || CPU_V7) + select HAVE_DMA_CONTIGUOUS if MMU select HAVE_MEMBLOCK select RTC_LIB select SYS_SUPPORTS_APM_EMULATION