Files
linux/arch/arm/include/asm
Nicolas Pitre 58edb51572 [ARM] make page_to_dma() highmem aware
If a machine class has a custom __virt_to_bus() implementation then it
must provide a __arch_page_to_dma() implementation as well which is
_not_ based on page_address() to support highmem.

This patch fixes existing __arch_page_to_dma() and provide a default
implementation otherwise.  The default implementation for highmem is
based on __pfn_to_bus() which is defined only when no custom
__virt_to_bus() is provided by the machine class.

That leaves only ebsa110 and footbridge which cannot support highmem
until they provide their own __arch_page_to_dma() implementation.
But highmem support on those legacy platforms with limited memory is
certainly not a priority.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
2009-03-15 21:01:21 -04:00
..
2009-01-06 15:59:10 -08:00
2008-12-04 09:21:55 +00:00
2009-03-15 21:01:20 -04:00
2008-11-06 13:23:07 +00:00
2008-11-28 15:39:02 +00:00
2008-09-13 21:35:55 +01:00
2008-10-09 21:31:56 +01:00
2008-09-06 10:35:51 +01:00
2008-09-04 09:46:11 +01:00
2008-11-27 12:37:59 +00:00
2009-01-06 18:10:28 -08:00
2008-09-06 10:35:51 +01:00
2008-09-06 12:10:45 +01:00