swiotlb: use phys_to_dma and dma_to_phys
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Fri, 10 Jul 2009 01:05:02 +0000 (10:05 +0900)
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 28 Jul 2009 05:19:20 +0000 (14:19 +0900)
commit862d196b27bd30a5ab8109d5cdb37980d81b1fe9
tree4fe582aeb7ef93fe769b63150f983fbb8eae918f
parent8d4f5339d1ee4027c07e6b2a1cfa9dc41b0d383b
swiotlb: use phys_to_dma and dma_to_phys

This converts swiotlb to use phys_to_dma and dma_to_phys instead of
swiotlb_phys_to_bus() and swiotlb_bus_to_phys().

swiotlb_phys_to_bus() and swiotlb_bus_to_phys() are not necessary so
this patch also removes them.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Becky Bruce <beckyb@kernel.crashing.org>
include/linux/swiotlb.h
lib/swiotlb.c