Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b690420a authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/vt-d: Make two functions static



These functions are only used in that file and can be
static.

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent dc02e46e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1210,7 +1210,7 @@ static struct page *dma_pte_clear_level(struct dmar_domain *domain, int level,
/* We can't just free the pages because the IOMMU may still be walking
   the page tables, and may have cached the intermediate levels. The
   pages can only be freed after the IOTLB flush has been done. */
struct page *domain_unmap(struct dmar_domain *domain,
static struct page *domain_unmap(struct dmar_domain *domain,
				 unsigned long start_pfn,
				 unsigned long last_pfn)
{
@@ -1236,7 +1236,7 @@ struct page *domain_unmap(struct dmar_domain *domain,
	return freelist;
}

void dma_free_pagelist(struct page *freelist)
static void dma_free_pagelist(struct page *freelist)
{
	struct page *pg;