Skip to content

Commit

Permalink
intel-iommu: move struct device_domain_info out of dma_remapping.h
Browse files Browse the repository at this point in the history
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Mark McLoughlin authored and Joerg Roedel committed Jan 3, 2009
1 parent 99126f7 commit a647dac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 10 additions & 0 deletions drivers/pci/intel-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
10 changes: 0 additions & 10 deletions include/linux/dma_remapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a647dac

Please sign in to comment.