commit | 832a90c30485117d65180cc9a8d9869c1b158570 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Thu Sep 18 15:54:23 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Sep 19 12:59:34 2008 +0200 |
tree | e8a183e647252766d178bb297854d1e1862553ac | |
parent | bbd001c73cb92aa8f779ae44bb89d8a5dee74ad5 [diff] |
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 <joerg.roedel@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>