From: Joerg Roedel Date: Thu, 18 Sep 2008 13:54:23 +0000 (+0200) Subject: AMD IOMMU: use coherent_dma_mask in alloc_coherent X-Git-Tag: v2.6.28-rc1~712^2^4~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=832a90c30485117d65180cc9a8d9869c1b158570;p=pandora-kernel.git 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 --- Reading git-diff-tree failed