Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / x86 / include / asm / device.h
blob5e12c63b47aa99cad0a674a411db6441af712ef0
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_DEVICE_H
3 #define _ASM_X86_DEVICE_H
5 struct dev_archdata {
6 #if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
7 void *iommu; /* hook for IOMMU specific extension */
8 #endif
9 };
11 #if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
12 struct dma_domain {
13 struct list_head node;
14 const struct dma_map_ops *dma_ops;
15 int domain_nr;
17 void add_dma_domain(struct dma_domain *domain);
18 void del_dma_domain(struct dma_domain *domain);
19 #endif
21 struct pdev_archdata {
24 #endif /* _ASM_X86_DEVICE_H */