]> git.karo-electronics.de Git - linux-beck.git/commit
[ARM] fix constant values of MAX_DMA_ADDRESS
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 29 Nov 2008 10:56:33 +0000 (10:56 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 29 Nov 2008 18:42:34 +0000 (18:42 +0000)
commitc72e005b099302b3c6bee8381396199b77b6dd4f
tree00b12648664fe10d86bcf45348cc348515a10eaa
parentb9c78022b0e65cdca2541be658f0e74138e92ffe
[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>
arch/arm/mach-h720x/include/mach/memory.h
arch/arm/mach-s3c2410/include/mach/memory.h
arch/arm/mach-shark/include/mach/memory.h