x86/cpufeature: Carve out X86_FEATURE_*
[deliverable/linux.git] / arch / x86 / include / asm / device.h
1 #ifndef _ASM_X86_DEVICE_H
2 #define _ASM_X86_DEVICE_H
3
4 struct dev_archdata {
5 #ifdef CONFIG_X86_DEV_DMA_OPS
6 struct dma_map_ops *dma_ops;
7 #endif
8 #if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
9 void *iommu; /* hook for IOMMU specific extension */
10 #endif
11 };
12
13 #if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
14 struct dma_domain {
15 struct list_head node;
16 struct dma_map_ops *dma_ops;
17 int domain_nr;
18 };
19 void add_dma_domain(struct dma_domain *domain);
20 void del_dma_domain(struct dma_domain *domain);
21 #endif
22
23 struct pdev_archdata {
24 };
25
26 #endif /* _ASM_X86_DEVICE_H */
This page took 0.030018 seconds and 5 git commands to generate.