74ad5 author Joerg Roedel 1221746063 +0200 committer Ingo Molnar 1221821974 +0200 AMD IOMMU: use coherent_dma_mask in alloc_coherent The alloc_coherent implementation for AMD IOMMU currently uses *dev->dma_mask per default. This patch changes it to prefer dev->coherent_dma_mask if it is set. Signed-off-by: Joerg Roedel Signed-off-by: Ingo Molnar ·¸ªe˜