[ARM] dma: provide a better dma_map_page() implementation
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 25 Sep 2008 19:59:12 +0000 (20:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 25 Sep 2008 22:39:24 +0000 (23:39 +0100)
commit56f55f8b58a02e95b401cb50df05086cabeaeeb5
tree3be7e3383157c731178ca447008c0e7c236bfbfc
parentafd1a321c49a250dab97cef6f2d3c3c9b9d0174a
[ARM] dma: provide a better dma_map_page() implementation

We can translate a struct page directly to a DMA address using
page_to_dma().  No need to use page_address() followed by
virt_to_dma().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/dmabounce.c
arch/arm/include/asm/dma-mapping.h