]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/pci-dma.c
dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24)
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / pci-dma.c
index 136a01d52db011bb5492730fb04f0aef5c505477..745579bc825687cdb5855b9d5e7a7a6cbd042239 100644 (file)
@@ -243,7 +243,7 @@ int 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