]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86/kernel/pci-dma.c
dma-mapping: replace all DMA_40BIT_MASK macro with DMA_BIT_MASK(40)
[net-next-2.6.git] / arch / x86 / kernel / pci-dma.c
index 90f5b9ef5defbd44c6bb2d0ad0489bdafb1cca08..0cf2d900422bd28000be0d721db0f5e700262f7f 100644 (file)
@@ -258,7 +258,7 @@ int 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;
        }