aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-sa1100/include/mach/memory.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-11-30 13:26:47 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-11-30 13:26:47 +0000
commit3719ec5077d9a8bf293c494ff7eae766d6a70bbe (patch)
tree9e3bfaa537e51a6fb74e489aba1f8366d17e466b /arch/arm/mach-sa1100/include/mach/memory.h
parent0560cf5aa51216b06874333a2fa26ca034d97bdb (diff)
[ARM] Ensure that both MAX_DMA_ADDRESS and ISA_DMA_THRESHOLD are defined
Both of these symbols should be defined by a platform, or neither should be defined. Ensure that all platforms conform. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/include/mach/memory.h')
-rw-r--r--arch/arm/mach-sa1100/include/mach/memory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-sa1100/include/mach/memory.h b/arch/arm/mach-sa1100/include/mach/memory.h
index 6984034f695..e9f8eed900f 100644
--- a/arch/arm/mach-sa1100/include/mach/memory.h
+++ b/arch/arm/mach-sa1100/include/mach/memory.h
@@ -23,6 +23,7 @@ void sa1111_adjust_zones(int node, unsigned long *size, unsigned long *holes);
sa1111_adjust_zones(node, size, holes)
#define ISA_DMA_THRESHOLD (PHYS_OFFSET + SZ_1M - 1)
+#define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_1M)
#endif
#endif