]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/message/i2o/memory.c
Merge branch 'x86-amd-nb-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / drivers / message / i2o / memory.c
index 9a08d8e4551623cb709c74ed6019da8a270c0c21..292b41e49fbd57c5881c03cf7daa889a72404948 100644 (file)
@@ -187,7 +187,7 @@ int i2o_dma_alloc(struct device *dev, struct i2o_dma *addr, size_t len)
        mutex_lock(&mem_lock);
        if ((sizeof(dma_addr_t) > 4) && (pdev->dma_mask == DMA_BIT_MASK(64))) {
                dma_64 = 1;
-               if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {
+               if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) {
                        mutex_unlock(&mem_lock);
                        return -ENOMEM;
                }