dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24)
[pandora-kernel.git] / arch / ia64 / kernel / pci-dma.c
index f82b0ee..eb98738 100644 (file)
@@ -75,7 +75,7 @@ int iommu_dma_supported(struct device *dev, u64 mask)
        /* Copied from i386. Doesn't make much sense, because it will
           only work for pci_alloc_coherent.
           The caller just has to use GFP_DMA in this case. */
-       if (mask < DMA_24BIT_MASK)
+       if (mask < DMA_BIT_MASK(24))
                return 0;
 
        /* Tell the device to use SAC when IOMMU force is on.  This