summaryrefslogtreecommitdiff
path: root/drivers/iommu/dma-iommu.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-12-17 18:30:59 +0300
committerJoerg Roedel <jroedel@suse.de>2021-12-20 11:03:05 +0300
commitce00eece6909c266da123fd147172d745a4f14a0 (patch)
treee6844b952e84d27952f4312c77d7cbdd7d6bd138 /drivers/iommu/dma-iommu.c
parent6b3106e9ba2de7320a71291cedcefdcf1195ad58 (diff)
downloadlinux-ce00eece6909c266da123fd147172d745a4f14a0.tar.xz
iommu/amd: Use put_pages_list
page->freelist is for the use of slab. We already have the ability to free a list of pages in the core mm, but it requires the use of a list_head and for the pages to be chained together through page->lru. Switch the AMD IOMMU code over to using free_pages_list(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> [rm: split from original patch, cosmetic tweaks] Signed-off-by: Robin Murphy <robin.murphy@arm.com> Link: https://lore.kernel.org/r/73af128f651aaa1f38f69e586c66765a88ad2de0.1639753638.git.robin.murphy@arm.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/dma-iommu.c')
0 files changed, 0 insertions, 0 deletions