vtd: don't export iommu_set_pgd
authorJulien Grall <julien.grall@linaro.org>
Mon, 24 Feb 2014 11:32:00 +0000 (12:32 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 24 Feb 2014 11:32:00 +0000 (12:32 +0100)
iommu_set_pgd is only used internally in
xen/drivers/passthrough/vtd/iommu.c

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Xiantoa Zhang <xiantao.zhang@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/drivers/passthrough/vtd/iommu.c
xen/include/xen/iommu.h

index a8d33fc7084dee3813fea2b49ffa64e3fbbadb49..d5ce5b7bdf837f0d953de0abe108e70385ce85e9 100644 (file)
@@ -1826,7 +1826,7 @@ static int vtd_ept_page_compatible(struct iommu *iommu)
 /*
  * set VT-d page table directory to EPT table if allowed
  */
-void iommu_set_pgd(struct domain *d)
+static void iommu_set_pgd(struct domain *d)
 {
     struct hvm_iommu *hd  = domain_hvm_iommu(d);
     mfn_t pgd_mfn;
index ae7e75d0138b1a4e8ab9bcc33d1aa2f7288d50b6..4f534ed705a70cf931448cba672553a1f1b05558 100644 (file)
@@ -68,7 +68,6 @@ int iommu_map_page(struct domain *d, unsigned long gfn, unsigned long mfn,
                    unsigned int flags);
 int iommu_unmap_page(struct domain *d, unsigned long gfn);
 void iommu_pte_flush(struct domain *d, u64 gfn, u64 *pte, int order, int present);
-void iommu_set_pgd(struct domain *d);
 
 void pt_pci_init(void);