1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef _ASM_X86_DEVICE_H #define _ASM_X86_DEVICE_H struct dev_archdata { #ifdef CONFIG_ACPI void *acpi_handle; #endif #ifdef CONFIG_X86_64 struct dma_map_ops *dma_ops; #endif #if defined(CONFIG_DMAR) || defined(CONFIG_AMD_IOMMU) void *iommu; /* hook for IOMMU specific extension */ #endif }; struct pdev_archdata { }; #endif /* _ASM_X86_DEVICE_H */