]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/iommu.h
generic, x86: fix add iommu_num_pages helper function
[linux-2.6-omap-h63xx.git] / include / asm-x86 / iommu.h
index d63166fb3ab705a3e294b0b5f4c75bd544d17411..5f888cc5be49a0eb87fab02d32ec050a686d0387 100644 (file)
@@ -3,9 +3,12 @@
 
 extern void pci_iommu_shutdown(void);
 extern void no_iommu_init(void);
+extern struct dma_mapping_ops nommu_dma_ops;
 extern int force_iommu, no_iommu;
 extern int iommu_detected;
 
+extern unsigned long iommu_num_pages(unsigned long addr, unsigned long len);
+
 #ifdef CONFIG_GART_IOMMU
 extern int gart_iommu_aperture;
 extern int gart_iommu_aperture_allowed;