X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=lib%2Fswiotlb.c;h=2b0b5a7d2ced165b1e2b83e2df888c237349f23f;hb=d835305bc4d831af86e26beb0fdaadf8f55e82e4;hp=32e2bd3b11424ca7b0d7905930d3ea9b6adf14ff;hpb=cf2f7d7c90279cdbc12429de278f3d27ac2050ae;p=linux-2.6-omap-h63xx.git diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 32e2bd3b114..2b0b5a7d2ce 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@ -549,7 +549,7 @@ swiotlb_alloc_coherent(struct device *hwdev, size_t size, dma_addr_t dev_addr; void *ret; int order = get_order(size); - u64 dma_mask = DMA_32BIT_MASK; + u64 dma_mask = DMA_BIT_MASK(32); if (hwdev && hwdev->coherent_dma_mask) dma_mask = hwdev->coherent_dma_mask;