aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/intel-iommu.h
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2008-07-10 14:16:37 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-12 02:44:48 -0400
commit1886e8a90a580f3ad343f2065c84c1b9e1dac9ef (patch)
tree1f0a6b536a1bb7b24585973e70ad8e1a9a076f09 /drivers/pci/intel-iommu.h
parentc42d9f32443397aed2d37d37df161392e6a5862f (diff)
x64, x2apic/intr-remap: code re-structuring, to be used by both DMA and Interrupt remapping
Allocate the iommu during the parse of DMA remapping hardware definition structures. And also, introduce routines for device scope initialization which will be explicitly called during dma-remapping initialization. These will be used for enabling interrupt remapping separately from the existing DMA-remapping enabling sequence. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Cc: akpm@linux-foundation.org Cc: arjan@linux.intel.com Cc: andi@firstfloor.org Cc: ebiederm@xmission.com Cc: jbarnes@virtuousgeek.org Cc: steiner@sgi.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/pci/intel-iommu.h')
-rw-r--r--drivers/pci/intel-iommu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/intel-iommu.h b/drivers/pci/intel-iommu.h
index 75c63f65b3f5..371e3b9caf32 100644
--- a/drivers/pci/intel-iommu.h
+++ b/drivers/pci/intel-iommu.h
@@ -199,7 +199,7 @@ struct intel_iommu {
199 199
200extern struct dmar_drhd_unit * dmar_find_matched_drhd_unit(struct pci_dev *dev); 200extern struct dmar_drhd_unit * dmar_find_matched_drhd_unit(struct pci_dev *dev);
201 201
202extern struct intel_iommu *alloc_iommu(struct dmar_drhd_unit *drhd); 202extern int alloc_iommu(struct dmar_drhd_unit *drhd);
203extern void free_iommu(struct intel_iommu *iommu); 203extern void free_iommu(struct intel_iommu *iommu);
204 204
205#endif 205#endif