X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-x86%2Fiommu.h;h=5f888cc5be49a0eb87fab02d32ec050a686d0387;hb=870346e874245447a5097bc1513acb45478c0a7a;hp=ecc8061904a9ee27210d27efd74dfe4534212fb6;hpb=e4ddcb0a6bf04d53ce77b4eb87bbbb32c4261d11;p=pandora-kernel.git diff --git a/include/asm-x86/iommu.h b/include/asm-x86/iommu.h index ecc8061904a9..5f888cc5be49 100644 --- a/include/asm-x86/iommu.h +++ b/include/asm-x86/iommu.h @@ -7,6 +7,8 @@ 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;