Replace the page_to_dma() and dma_to_page() macros with their PFN equivalents. This allows us to map parts of memory which do not have a struct page allocated to them to bus addresses. This will be used internally by dma_alloc_coherent()/dma_alloc_writecombine(). Build tested on Versatile, OMAP1, IOP13xx and KS8695. Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
|---|---|---|
| .. | ||
| 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 | ||