dma-mapping: replace all DMA_40BIT_MASK macro with DMA_BIT_MASK(40)
[pandora-kernel.git] / arch / ia64 / kernel / pci-dma.c
index e4cb443..8f34f3d 100644 (file)
@@ -90,7 +90,7 @@ int iommu_dma_supported(struct device *dev, u64 mask)
           SAC for these.  Assume all masks <= 40 bits are of this
           type. Normally this doesn't make any difference, but gives
           more gentle handling of IOMMU overflow. */
-       if (iommu_sac_force && (mask >= DMA_40BIT_MASK)) {
+       if (iommu_sac_force && (mask >= DMA_BIT_MASK(40))) {
                dev_info(dev, "Force SAC with mask %lx\n", mask);
                return 0;
        }