From: FUJITA Tomonori Date: Fri, 10 Jul 2009 01:05:01 +0000 (+0900) Subject: x86, IA64, powerpc: add phys_to_dma() and dma_to_phys() X-Git-Tag: v2.6.32-rc1~727^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d4f5339d1ee4027c07e6b2a1cfa9dc41b0d383b;p=pandora-kernel.git x86, IA64, powerpc: add phys_to_dma() and dma_to_phys() This adds two functions, phys_to_dma() and dma_to_phys() to x86, IA64 and powerpc. swiotlb uses them. phys_to_dma() converts a physical address to a dma address. dma_to_phys() does the opposite. Signed-off-by: FUJITA Tomonori Acked-by: Becky Bruce --- Reading git-diff-tree failed