]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/block/umem.c
dma-mapping: replace all DMA_64BIT_MASK macro with DMA_BIT_MASK(64)
[net-next-2.6.git] / drivers / block / umem.c
index c24e1bdbad438785b0b68fca6aba5699331436b2..e93e99c9103cab771f514c2cc02e677deed910c8 100644 (file)
@@ -829,7 +829,7 @@ static int __devinit mm_pci_probe(struct pci_dev *dev,
        dev_printk(KERN_INFO, &dev->dev,
          "Micro Memory(tm) controller found (PCI Mem Module (Battery Backup))\n");
 
-       if (pci_set_dma_mask(dev, DMA_64BIT_MASK) &&
+       if (pci_set_dma_mask(dev, DMA_BIT_MASK(64)) &&
            pci_set_dma_mask(dev, DMA_32BIT_MASK)) {
                dev_printk(KERN_WARNING, &dev->dev, "NO suitable DMA found\n");
                return  -ENOMEM;