commit | 8d4f5339d1ee4027c07e6b2a1cfa9dc41b0d383b | [log] [tgz] |
---|---|---|
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | Fri Jul 10 10:05:01 2009 +0900 |
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | Tue Jul 28 14:19:20 2009 +0900 |
tree | aeb86783e2c32a77b7dfe64cd0936e704338b2da | |
parent | 8f2502fd8157632909ff335a3c628e7caeec5e03 [diff] |
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 <fujita.tomonori@lab.ntt.co.jp> Acked-by: Becky Bruce <beckyb@kernel.crashing.org>