aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/dma.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-01-04 15:30:48 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-01-04 15:30:48 +0000
commitd4c6fc9976dd70a27abc988ddbd6a746c1dba0a7 (patch)
treec524fa0d4ec0679ff899a67455f161753ffa01d9 /include/asm-arm/dma.h
parent6842b9299272a9471a7e94e046b953f6ffe3db9d (diff)
[ARM] Move common definition of MAX_DMA_ADDRESS to asm/dma.h
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/dma.h')
-rw-r--r--include/asm-arm/dma.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-arm/dma.h b/include/asm-arm/dma.h
index 1c7087f9364..49c01e2bf7c 100644
--- a/include/asm-arm/dma.h
+++ b/include/asm-arm/dma.h
@@ -10,6 +10,13 @@ typedef unsigned int dmach_t;
#include <asm/arch/dma.h>
/*
+ * This is the maximum virtual address which can be DMA'd from.
+ */
+#ifndef MAX_DMA_ADDRESS
+#define MAX_DMA_ADDRESS 0xffffffff
+#endif
+
+/*
* DMA modes
*/
typedef unsigned int dmamode_t;