ARM: integrator: allow Integrator to be built with highmem
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 25 Oct 2009 22:42:38 +0000 (22:42 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 25 Oct 2009 22:44:30 +0000 (22:44 +0000)
commitce63e6bd0ac7eca242562ee07f518bacc8eaa5ce
tree6ac07bf89cba22f558f5e04c6298f02c9d2385ba
parentab72b00734ae4d0b5ff273a0f6c7abeaa3713c76
ARM: integrator: allow Integrator to be built with highmem

This fixes Integrator builds with highmem enabled; we need to
translate from 'struct page' to a DMA address, and this is not
possible without __pfn_to_bus().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-integrator/include/mach/memory.h