diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2009-07-10 03:05:01 +0200 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2009-07-28 07:19:20 +0200 |
commit | 8d4f5339d1ee4027c07e6b2a1cfa9dc41b0d383b (patch) | |
tree | aeb86783e2c32a77b7dfe64cd0936e704338b2da /lib/swiotlb.c | |
parent | remove is_buffer_dma_capable() (diff) | |
download | linux-8d4f5339d1ee4027c07e6b2a1cfa9dc41b0d383b.tar.xz linux-8d4f5339d1ee4027c07e6b2a1cfa9dc41b0d383b.zip |
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>
Diffstat (limited to 'lib/swiotlb.c')
0 files changed, 0 insertions, 0 deletions