58edb51572
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> |
||
---|---|---|
.. | ||
debug-macro.S | ||
devices.h | ||
entry-macro.S | ||
gpio.h | ||
hardware.h | ||
io.h | ||
irqs.h | ||
memory.h | ||
regs-gpio.h | ||
regs-hpna.h | ||
regs-irq.h | ||
regs-lan.h | ||
regs-mem.h | ||
regs-misc.h | ||
regs-pci.h | ||
regs-switch.h | ||
regs-sys.h | ||
regs-timer.h | ||
regs-uart.h | ||
regs-wan.h | ||
system.h | ||
timex.h | ||
uncompress.h | ||
vmalloc.h |