x86/speculation/mds: Fix documentation typo
[linux/fpc-iii.git] / arch / ia64 / kernel / dma-mapping.c
blob7a82c92596092712c254a2ecfa99fd846ae074ee
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/dma-mapping.h>
3 #include <linux/export.h>
5 /* Set this to 1 if there is a HW IOMMU in the system */
6 int iommu_detected __read_mostly;
8 const struct dma_map_ops *dma_ops;
9 EXPORT_SYMBOL(dma_ops);
11 #define PREALLOC_DMA_DEBUG_ENTRIES (1 << 16)
13 static int __init dma_init(void)
15 dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES);
17 return 0;
19 fs_initcall(dma_init);
21 const struct dma_map_ops *dma_get_ops(struct device *dev)
23 return dma_ops;
25 EXPORT_SYMBOL(dma_get_ops);