]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/swiotlb.h
Merge branch 'master' into next
[linux-2.6-omap-h63xx.git] / include / linux / swiotlb.h
index 694f1839cbc05b62eb0bc426092bc004759ce29f..dedd3c0cfe300c8fbaf841cd525d8991cd404c19 100644 (file)
@@ -27,9 +27,12 @@ swiotlb_init(void);
 extern void *swiotlb_alloc_boot(size_t bytes, unsigned long nslabs);
 extern void *swiotlb_alloc(unsigned order, unsigned long nslabs);
 
-extern dma_addr_t swiotlb_phys_to_bus(phys_addr_t address);
+extern dma_addr_t swiotlb_phys_to_bus(struct device *hwdev,
+                                     phys_addr_t address);
 extern phys_addr_t swiotlb_bus_to_phys(dma_addr_t address);
 
+extern int swiotlb_arch_range_needs_mapping(void *ptr, size_t size);
+
 extern void
 *swiotlb_alloc_coherent(struct device *hwdev, size_t size,
                        dma_addr_t *dma_handle, gfp_t flags);