diff options
Diffstat (limited to 'drivers/message/i2o/memory.c')
-rw-r--r-- | drivers/message/i2o/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/i2o/memory.c b/drivers/message/i2o/memory.c index 9a08d8e45516..292b41e49fbd 100644 --- a/drivers/message/i2o/memory.c +++ b/drivers/message/i2o/memory.c | |||
@@ -187,7 +187,7 @@ int i2o_dma_alloc(struct device *dev, struct i2o_dma *addr, size_t len) | |||
187 | mutex_lock(&mem_lock); | 187 | mutex_lock(&mem_lock); |
188 | if ((sizeof(dma_addr_t) > 4) && (pdev->dma_mask == DMA_BIT_MASK(64))) { | 188 | if ((sizeof(dma_addr_t) > 4) && (pdev->dma_mask == DMA_BIT_MASK(64))) { |
189 | dma_64 = 1; | 189 | dma_64 = 1; |
190 | if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) { | 190 | if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) { |
191 | mutex_unlock(&mem_lock); | 191 | mutex_unlock(&mem_lock); |
192 | return -ENOMEM; | 192 | return -ENOMEM; |
193 | } | 193 | } |