From: Russell King Date: Thu, 25 Sep 2008 19:59:12 +0000 (+0100) Subject: [ARM] dma: provide a better dma_map_page() implementation X-Git-Tag: v2.6.28-rc1~293^2~9^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56f55f8b58a02e95b401cb50df05086cabeaeeb5;p=pandora-kernel.git [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 --- Reading git-diff-tree failed