intel-iommu: move struct device_domain_info out of dma_remapping.h
authorMark McLoughlin <markmc@redhat.com>
Thu, 20 Nov 2008 15:49:48 +0000 (15:49 +0000)
committerJoerg Roedel <joerg.roedel@amd.com>
Sat, 3 Jan 2009 10:57:35 +0000 (11:57 +0100)
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c
include/linux/dma_remapping.h

index 97c36b2ee61100b8fa8da6387e5cc624dd3fa0ca..f23a02054bf76de66a5250110a7c5728b958cf4f 100644 (file)
@@ -168,6 +168,16 @@ struct dmar_domain {
        int             flags;
 };
 
+/* PCI domain-device relationship */
+struct device_domain_info {
+       struct list_head link;  /* link to domain siblings */
+       struct list_head global; /* link to global list */
+       u8 bus;                 /* PCI bus numer */
+       u8 devfn;               /* PCI devfn number */
+       struct pci_dev *dev; /* it's NULL for PCIE-to-PCI bridge */
+       struct dmar_domain *domain; /* pointer to domain */
+};
+
 static void flush_unmaps_timeout(unsigned long data);
 
 DEFINE_TIMER(unmap_timer,  flush_unmaps_timeout, 0, 0);
index 333014468f172e154982b443240ad9dcca644aad..4ef5f6bc0d680aebbe1e13f4a03c7049b681caf4 100644 (file)
@@ -16,16 +16,6 @@ struct intel_iommu;
 struct dmar_domain;
 struct root_entry;
 
-/* PCI domain-device relationship */
-struct device_domain_info {
-       struct list_head link;  /* link to domain siblings */
-       struct list_head global; /* link to global list */
-       u8 bus;                 /* PCI bus numer */
-       u8 devfn;               /* PCI devfn number */
-       struct pci_dev *dev; /* it's NULL for PCIE-to-PCI bridge */
-       struct dmar_domain *domain; /* pointer to domain */
-};
-
 extern void free_dmar_iommu(struct intel_iommu *iommu);
 
 extern int dmar_disabled;