swiotlb: remove unnecessary swiotlb_bus_to_virt
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 23 Jul 2009 02:18:49 +0000 (11:18 +0900)
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 28 Jul 2009 05:19:18 +0000 (14:19 +0900)
commit02ca646e73f3cb9be69e339841b94edae675e248
tree08277cb352e290ca5c0f52fd31c0bf4fc273e5f5
parentcf56e3f2e8a8d5b7bc719980869b0e7985c256f3
swiotlb: remove unnecessary swiotlb_bus_to_virt

swiotlb_bus_to_virt is unncessary; we can use swiotlb_bus_to_phys and
phys_to_virt instead.

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