aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/amd_iommu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c
index 0e9ab4af619b..2e775169bdf0 100644
--- a/arch/x86/kernel/amd_iommu.c
+++ b/arch/x86/kernel/amd_iommu.c
@@ -2379,9 +2379,7 @@ static void amd_iommu_domain_destroy(struct iommu_domain *dom)
2379 2379
2380 free_pagetable(domain); 2380 free_pagetable(domain);
2381 2381
2382 domain_id_free(domain->id); 2382 protection_domain_free(domain);
2383
2384 kfree(domain);
2385 2383
2386 dom->priv = NULL; 2384 dom->priv = NULL;
2387} 2385}