diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-08-13 05:32:18 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-08-13 13:49:51 -0400 |
commit | b690420a406256c83ef2c7e96466052e5cab7676 (patch) | |
tree | f69e8f363ac4b9018690e5031afbcf1adbd165e6 /drivers/iommu | |
parent | dc02e46e8d0234eed9f6e42f50763b406c380bc4 (diff) |
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 2a7e01798f4b..93f16aa9eb30 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c | |||
@@ -1210,9 +1210,9 @@ next: | |||
1210 | /* We can't just free the pages because the IOMMU may still be walking | 1210 | /* We can't just free the pages because the IOMMU may still be walking |
1211 | the page tables, and may have cached the intermediate levels. The | 1211 | the page tables, and may have cached the intermediate levels. The |
1212 | pages can only be freed after the IOTLB flush has been done. */ | 1212 | pages can only be freed after the IOTLB flush has been done. */ |
1213 | struct page *domain_unmap(struct dmar_domain *domain, | 1213 | static struct page *domain_unmap(struct dmar_domain *domain, |
1214 | unsigned long start_pfn, | 1214 | unsigned long start_pfn, |
1215 | unsigned long last_pfn) | 1215 | unsigned long last_pfn) |
1216 | { | 1216 | { |
1217 | struct page *freelist = NULL; | 1217 | struct page *freelist = NULL; |
1218 | 1218 | ||
@@ -1236,7 +1236,7 @@ struct page *domain_unmap(struct dmar_domain *domain, | |||
1236 | return freelist; | 1236 | return freelist; |
1237 | } | 1237 | } |
1238 | 1238 | ||
1239 | void dma_free_pagelist(struct page *freelist) | 1239 | static void dma_free_pagelist(struct page *freelist) |
1240 | { | 1240 | { |
1241 | struct page *pg; | 1241 | struct page *pg; |
1242 | 1242 | ||