aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-h720x
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-11-29 05:56:33 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-11-29 13:42:34 -0500
commitc72e005b099302b3c6bee8381396199b77b6dd4f (patch)
tree00b12648664fe10d86bcf45348cc348515a10eaa /arch/arm/mach-h720x
parentb9c78022b0e65cdca2541be658f0e74138e92ffe (diff)
[ARM] fix constant values of MAX_DMA_ADDRESS
Since 8d5796d2ec6b5a4e7a52861144e63af438d6f8f7, we have allowed PAGE_OFFSET to be configurable, so a constant virtual address for MAX_DMA_ADDRESS is buggy. It should be defined in terms of PAGE_OFFSET rather than a constant virtual address. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-h720x')
-rw-r--r--arch/arm/mach-h720x/include/mach/memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-h720x/include/mach/memory.h b/arch/arm/mach-h720x/include/mach/memory.h
index 8cfb665e04b1..c9bdb21a4445 100644
--- a/arch/arm/mach-h720x/include/mach/memory.h
+++ b/arch/arm/mach-h720x/include/mach/memory.h
@@ -16,6 +16,6 @@
16 * If you set this, you must also set ISA_DMA_THRESHOLD and setup a DMA 16 * If you set this, you must also set ISA_DMA_THRESHOLD and setup a DMA
17 * zone if this does not cover all possible RAM. 17 * zone if this does not cover all possible RAM.
18 */ 18 */
19#define MAX_DMA_ADDRESS 0xd0000000 19#define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_256M)
20 20
21#endif 21#endif