diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-08-13 11:32:18 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-08-13 19:49:51 +0200 |
commit | b690420a406256c83ef2c7e96466052e5cab7676 (patch) | |
tree | f69e8f363ac4b9018690e5031afbcf1adbd165e6 /drivers/iommu | |
parent | dc02e46e8d0234eed9f6e42f50763b406c380bc4 (diff) | |
download | op-kernel-dev-b690420a406256c83ef2c7e96466052e5cab7676.zip op-kernel-dev-b690420a406256c83ef2c7e96466052e5cab7676.tar.gz |
iommu/vt-d: Make two functions static
These functions are only used in that file and can be
static.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/intel-iommu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index 2a7e017..93f16aa 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c @@ -1210,9 +1210,9 @@ next: /* 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, - unsigned long start_pfn, - unsigned long last_pfn) +static struct page *domain_unmap(struct dmar_domain *domain, + unsigned long start_pfn, + unsigned long last_pfn) { struct page *freelist = NULL; @@ -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; |