summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/dma.h
diff options
context:
space:
mode:
authorRussell King2006-01-04 16:30:48 +0100
committerRussell King2006-01-04 16:30:48 +0100
commitd4c6fc9976dd70a27abc988ddbd6a746c1dba0a7 (patch)
treec524fa0d4ec0679ff899a67455f161753ffa01d9 /include/asm-arm/dma.h
parent[ARM] Use core_initcall() to initialise ARM DMA (diff)
downloadkernel-qcow2-linux-d4c6fc9976dd70a27abc988ddbd6a746c1dba0a7.tar.gz
kernel-qcow2-linux-d4c6fc9976dd70a27abc988ddbd6a746c1dba0a7.tar.xz
kernel-qcow2-linux-d4c6fc9976dd70a27abc988ddbd6a746c1dba0a7.zip
[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 1c7087f9364c..49c01e2bf7c8 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;