ARM: 6186/1: Avoid the CONSISTENT_DMA_SIZE warning on noMMU builds
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 21 Jun 2010 14:09:06 +0000 (15:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 1 Jul 2010 09:12:07 +0000 (10:12 +0100)
commita5e9d38b226686c89fd78413456535d5b66e8b1f
tree48a58b3a8630a8a436f3f4b57580ced6685ceaec
parent980019d74e4b2428362b36a0506519d6d9460800
ARM: 6186/1: Avoid the CONSISTENT_DMA_SIZE warning on noMMU builds

This macro is not defined when !CONFIG_MMU so this patch moves the
CONSISTENT_* definitions to the CONFIG_MMU section.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/dma-mapping.c