blob: 086a2aeb0404e6a889d6b10cfe766eca20a568c3 [file] [log] [blame]
FUJITA Tomonori4d9b9772009-01-05 23:36:12 +09001#include <linux/dma-mapping.h>
2
FUJITA Tomonorifb446722009-01-27 23:43:59 +09003/* Set this to 1 if there is a HW IOMMU in the system */
4int iommu_detected __read_mostly;
5
FUJITA Tomonori160c1d82009-01-05 23:59:02 +09006struct dma_map_ops *dma_ops;
FUJITA Tomonori4d9b9772009-01-05 23:36:12 +09007EXPORT_SYMBOL(dma_ops);
FUJITA Tomonoric190ab02009-01-05 23:36:16 +09008
FUJITA Tomonori160c1d82009-01-05 23:59:02 +09009struct dma_map_ops *dma_get_ops(struct device *dev)
FUJITA Tomonoric190ab02009-01-05 23:36:16 +090010{
11 return dma_ops;
12}
13EXPORT_SYMBOL(dma_get_ops);