diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-03 00:00:17 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-03 11:27:43 +0000 |
commit | 9eedd96301cad8ab58ee8c1e579677d0a75c2ba1 (patch) | |
tree | 87f5ebbbd5769516771bef37574b39464177f496 /arch/arm/mm/cache-v4wt.S | |
parent | 3d29005ab8d828e36108ecc2338612ce3acdd86f (diff) | |
download | op-kernel-dev-9eedd96301cad8ab58ee8c1e579677d0a75c2ba1.zip op-kernel-dev-9eedd96301cad8ab58ee8c1e579677d0a75c2ba1.tar.gz |
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>
Diffstat (limited to 'arch/arm/mm/cache-v4wt.S')
0 files changed, 0 insertions, 0 deletions