aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iommu
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2022-07-21 06:53:54 +0000
committerAlan Cox <alc@FreeBSD.org>2022-07-21 07:00:46 +0000
commitdfabdacb279ca603d008a0e7e952c5c59ac51da4 (patch)
tree158b436899e404a631a5e78147069f0c56e93081 /sys/dev/iommu
parent36e08b0127f97928a2f2c062feed8df9087b2b35 (diff)
Diffstat (limited to 'sys/dev/iommu')
-rw-r--r--sys/dev/iommu/busdma_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iommu/busdma_iommu.c b/sys/dev/iommu/busdma_iommu.c
index 10e7476b35eb..67e82fe43e58 100644
--- a/sys/dev/iommu/busdma_iommu.c
+++ b/sys/dev/iommu/busdma_iommu.c
@@ -1055,7 +1055,7 @@ bus_dma_iommu_load_ident(bus_dma_tag_t dmat, bus_dmamap_t map1,
TAILQ_INSERT_TAIL(&map->map_entries, entry, dmamap_link);
IOMMU_DMAMAP_UNLOCK(map);
} else {
- iommu_domain_unload_entry(entry, true);
+ iommu_gas_free_entry(domain, entry);
}
for (i = 0; i < atop(length); i++)
vm_page_putfake(ma[i]);