]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pci/intel-iommu.c
x64, x2apic/intr-remap: Queued invalidation infrastructure (part of VT-d)
[linux-2.6-omap-h63xx.git] / drivers / pci / intel-iommu.c
index fb701d9dd8c04b10a49bf89751d7869bde275199..347bf2e471685b1b8c84503b01cb630bde7b6dea 100644 (file)
@@ -181,13 +181,6 @@ void free_iova_mem(struct iova *iova)
        kmem_cache_free(iommu_iova_cache, iova);
 }
 
-static inline void __iommu_flush_cache(
-       struct intel_iommu *iommu, void *addr, int size)
-{
-       if (!ecap_coherent(iommu->ecap))
-               clflush_cache_range(addr, size);
-}
-
 /* Gets context entry for a given bus and devfn */
 static struct context_entry * device_to_context_entry(struct intel_iommu *iommu,
                u8 bus, u8 devfn)