spi: efm32: Convert to use GPIO descriptors
[linux/fpc-iii.git] / arch / ia64 / kernel / pci-dma.c
blobc90221733c6b91e031f0ac00758f5bbaf4cbf87a
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Dynamic DMA mapping support.
4 */
6 #include <linux/types.h>
7 #include <linux/mm.h>
8 #include <linux/string.h>
9 #include <linux/pci.h>
10 #include <linux/module.h>
11 #include <linux/dmar.h>
12 #include <asm/iommu.h>
13 #include <linux/dma-mapping.h>
14 #include <linux/kernel.h>
15 #include <asm/page.h>
17 int no_iommu __read_mostly;
18 #ifdef CONFIG_IOMMU_DEBUG
19 int force_iommu __read_mostly = 1;
20 #else
21 int force_iommu __read_mostly;
22 #endif
24 static int __init pci_iommu_init(void)
26 if (iommu_detected)
27 intel_iommu_init();
29 return 0;
32 /* Must execute after PCI subsystem */
33 fs_initcall(pci_iommu_init);