|
@@ -7,6 +7,8 @@ extern struct dma_mapping_ops nommu_dma_ops;
|
|
extern int force_iommu, no_iommu;
|
|
extern int force_iommu, no_iommu;
|
|
extern int iommu_detected;
|
|
extern int iommu_detected;
|
|
|
|
|
|
|
|
+extern unsigned long iommu_num_pages(unsigned long addr, unsigned long len);
|
|
|
|
+
|
|
#ifdef CONFIG_GART_IOMMU
|
|
#ifdef CONFIG_GART_IOMMU
|
|
extern int gart_iommu_aperture;
|
|
extern int gart_iommu_aperture;
|
|
extern int gart_iommu_aperture_allowed;
|
|
extern int gart_iommu_aperture_allowed;
|