kernel-hacking-2024-linux-s.../arch/arm/mach-ks8695/include/mach
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
..
debug-macro.S
devices.h
entry-macro.S
gpio.h [ARM] KS8695: Add GPIO to IRQ mapping function 2008-12-14 11:34:47 +00:00
hardware.h
io.h [ARM] Add a common typesafe __io implementation 2008-11-30 11:45:54 +00:00
irqs.h
memory.h [ARM] make page_to_dma() highmem aware 2009-03-15 21:01:21 -04:00
regs-gpio.h [ARM] 5296/1: [KS8695] Replace macro's with trailing underscores. 2008-10-09 10:16:00 +01:00
regs-hpna.h
regs-irq.h
regs-lan.h [ARM] 5296/1: [KS8695] Replace macro's with trailing underscores. 2008-10-09 10:16:00 +01:00
regs-mem.h
regs-misc.h
regs-pci.h
regs-switch.h
regs-sys.h
regs-timer.h
regs-uart.h
regs-wan.h [ARM] 5296/1: [KS8695] Replace macro's with trailing underscores. 2008-10-09 10:16:00 +01:00
system.h
timex.h
uncompress.h
vmalloc.h