"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "30aafdba6f78619274a977d67283a681bedbcbbd"
ARM: DMA: Replace page_to_dma()/dma_to_page() with pfn_to_dma()/dma_to_pfn()
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>
Loading
Please register or sign in to comment