X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-x86%2Fiommu.h;h=5f888cc5be49a0eb87fab02d32ec050a686d0387;hb=5c9ffc9c3d61dfcafd7cdb61c7b94f2d7ac408fb;hp=d63166fb3ab705a3e294b0b5f4c75bd544d17411;hpb=5554b35933245e95710d709175e14c02cbc956a4;p=linux-2.6 diff --git a/include/asm-x86/iommu.h b/include/asm-x86/iommu.h index d63166fb3a..5f888cc5be 100644 --- a/include/asm-x86/iommu.h +++ b/include/asm-x86/iommu.h @@ -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;