ARM: Remove support for macro CONSISTENT_DMA_SIZE
authorJon Medhurst <tixy@yxit.co.uk>
Thu, 4 Aug 2011 16:10:14 +0000 (17:10 +0100)
committerJon Medhurst <tixy@yxit.co.uk>
Mon, 22 Aug 2011 12:00:12 +0000 (12:00 +0000)
There are now no platforms which set this macro.

Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
arch/arm/mm/dma-mapping.c

index 5b59ce5728778d92ee76643bbc680a3311a65e25..50be842e89fd06ca43c9dd71a296509ad065bb1b 100644 (file)
@@ -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;