diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-30 08:26:47 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-30 08:26:47 -0500 |
commit | 3719ec5077d9a8bf293c494ff7eae766d6a70bbe (patch) | |
tree | 9e3bfaa537e51a6fb74e489aba1f8366d17e466b /arch/arm/mach-davinci/include/mach | |
parent | 0560cf5aa51216b06874333a2fa26ca034d97bdb (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-davinci/include/mach')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/memory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/memory.h b/arch/arm/mach-davinci/include/mach/memory.h index 3a3353357bac..86c25c7f3ce3 100644 --- a/arch/arm/mach-davinci/include/mach/memory.h +++ b/arch/arm/mach-davinci/include/mach/memory.h | |||
@@ -52,6 +52,7 @@ __arch_adjust_zones(int node, unsigned long *size, unsigned long *holes) | |||
52 | if ((meminfo.bank[0].size >> 20) > 128) __arch_adjust_zones(node, zone_size, holes) | 52 | if ((meminfo.bank[0].size >> 20) > 128) __arch_adjust_zones(node, zone_size, holes) |
53 | 53 | ||
54 | #define ISA_DMA_THRESHOLD (PHYS_OFFSET + (128<<20) - 1) | 54 | #define ISA_DMA_THRESHOLD (PHYS_OFFSET + (128<<20) - 1) |
55 | #define MAX_DMA_ADDRESS (PAGE_OFFSET + (128<<20)) | ||
55 | 56 | ||
56 | #endif | 57 | #endif |
57 | 58 | ||