From: Jon Medhurst Date: Thu, 4 Aug 2011 16:10:14 +0000 (+0100) Subject: ARM: Remove support for macro CONSISTENT_DMA_SIZE X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=97fef8bda9f32a2b1919501122d6bd6871af06dc;p=mv-sheeva.git ARM: Remove support for macro CONSISTENT_DMA_SIZE There are now no platforms which set this macro. Signed-off-by: Jon Medhurst --- diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index 5b59ce57287..50be842e89f 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c @@ -129,11 +129,7 @@ static void __dma_free_buffer(struct page *page, size_t size) */ static pte_t **consistent_pte; -#ifdef CONSISTENT_DMA_SIZE -#define DEFAULT_CONSISTENT_DMA_SIZE CONSISTENT_DMA_SIZE -#else #define DEFAULT_CONSISTENT_DMA_SIZE SZ_2M -#endif unsigned long consistent_base = CONSISTENT_END - DEFAULT_CONSISTENT_DMA_SIZE;