diff options
Diffstat (limited to 'arch/x86/kernel/amd_iommu.c')
-rw-r--r-- | arch/x86/kernel/amd_iommu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index d9b651c01186..f2956546423b 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c | |||
@@ -1574,6 +1574,7 @@ int __init amd_iommu_init_dma_ops(void) | |||
1574 | iommu->default_dom = dma_ops_domain_alloc(iommu, order); | 1574 | iommu->default_dom = dma_ops_domain_alloc(iommu, order); |
1575 | if (iommu->default_dom == NULL) | 1575 | if (iommu->default_dom == NULL) |
1576 | return -ENOMEM; | 1576 | return -ENOMEM; |
1577 | iommu->default_dom->domain.flags |= PD_DEFAULT_MASK; | ||
1577 | ret = iommu_init_unity_mappings(iommu); | 1578 | ret = iommu_init_unity_mappings(iommu); |
1578 | if (ret) | 1579 | if (ret) |
1579 | goto free_domains; | 1580 | goto free_domains; |