aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2009-07-09 21:05:02 -0400
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2009-07-28 01:19:20 -0400
commit862d196b27bd30a5ab8109d5cdb37980d81b1fe9 (patch)
tree4fe582aeb7ef93fe769b63150f983fbb8eae918f /include/linux
parent8d4f5339d1ee4027c07e6b2a1cfa9dc41b0d383b (diff)
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/swiotlb.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h
index a977da24f17c..73b1f1cec423 100644
--- a/include/linux/swiotlb.h
+++ b/include/linux/swiotlb.h
@@ -23,11 +23,6 @@ struct scatterlist;
23extern void 23extern void
24swiotlb_init(void); 24swiotlb_init(void);
25 25
26extern dma_addr_t swiotlb_phys_to_bus(struct device *hwdev,
27 phys_addr_t address);
28extern phys_addr_t swiotlb_bus_to_phys(struct device *hwdev,
29 dma_addr_t address);
30
31extern void 26extern void
32*swiotlb_alloc_coherent(struct device *hwdev, size_t size, 27*swiotlb_alloc_coherent(struct device *hwdev, size_t size,
33 dma_addr_t *dma_handle, gfp_t flags); 28 dma_addr_t *dma_handle, gfp_t flags);