aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/intel-iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/intel-iommu.c')
-rw-r--r--drivers/pci/intel-iommu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c
index 213a5c87fde2..65aa1d427f43 100644
--- a/drivers/pci/intel-iommu.c
+++ b/drivers/pci/intel-iommu.c
@@ -1180,6 +1180,7 @@ static struct dmar_domain * iommu_alloc_domain(struct intel_iommu *iommu)
1180 set_bit(num, iommu->domain_ids); 1180 set_bit(num, iommu->domain_ids);
1181 domain->id = num; 1181 domain->id = num;
1182 domain->iommu = iommu; 1182 domain->iommu = iommu;
1183 domain->flags = 0;
1183 iommu->domains[num] = domain; 1184 iommu->domains[num] = domain;
1184 spin_unlock_irqrestore(&iommu->lock, flags); 1185 spin_unlock_irqrestore(&iommu->lock, flags);
1185 1186