summaryrefslogtreecommitdiffstats
path: root/lib/iommu-helper.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-09-18 15:54:23 +0200
committerIngo Molnar <mingo@elte.hu>2008-09-19 12:59:34 +0200
commit832a90c30485117d65180cc9a8d9869c1b158570 (patch)
treee8a183e647252766d178bb297854d1e1862553ac /lib/iommu-helper.c
parentbbd001c73cb92aa8f779ae44bb89d8a5dee74ad5 (diff)
downloadlinux-stable-832a90c30485117d65180cc9a8d9869c1b158570.tar.gz
linux-stable-832a90c30485117d65180cc9a8d9869c1b158570.tar.bz2
linux-stable-832a90c30485117d65180cc9a8d9869c1b158570.zip
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>
Diffstat (limited to 'lib/iommu-helper.c')
0 files changed, 0 insertions, 0 deletions