summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Medhurst <tixy@yxit.co.uk>2011-08-04 17:10:14 +0100
committerJon Medhurst <tixy@yxit.co.uk>2011-08-22 12:00:12 +0000
commit97fef8bda9f32a2b1919501122d6bd6871af06dc (patch)
treea5642bdcc683d4d753a9d82c3aa591158104a724
parent9b742024026c5214ab9d75db672b8e984526be70 (diff)
downloadblackbird-op-linux-97fef8bda9f32a2b1919501122d6bd6871af06dc.tar.gz
blackbird-op-linux-97fef8bda9f32a2b1919501122d6bd6871af06dc.zip
ARM: Remove support for macro CONSISTENT_DMA_SIZE
There are now no platforms which set this macro. Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
-rw-r--r--arch/arm/mm/dma-mapping.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
index 5b59ce572877..50be842e89fd 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;
OpenPOWER on IntegriCloud