summaryrefslogtreecommitdiffstats
path: root/drivers/xen/swiotlb-xen.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-09-13 07:00:07 +0200
committerOlof Johansson <olof@lixom.net>2012-09-13 07:00:07 +0200
commit2bc733e8b443e77db5bb18e1bb8f1c535a92eb8c (patch)
treea6985ec4a761efbf2bdbaf7e75110669bf52bc15 /drivers/xen/swiotlb-xen.c
parentMerge tag 'omap-fixes-for-v3.6-rc4' of git://git.kernel.org/pub/scm/linux/ker... (diff)
parentARM: clk-imx35: Fix SSI clock registration (diff)
downloadlinux-2bc733e8b443e77db5bb18e1bb8f1c535a92eb8c.tar.xz
linux-2bc733e8b443e77db5bb18e1bb8f1c535a92eb8c.zip
Merge tag 'imx-fixes' of git://git.pengutronix.de/git/imx/linux-2.6 into fixes
ARM: i.MX: Fix SSI clock associations for i.MX25/i.MX35 * tag 'imx-fixes' of git://git.pengutronix.de/git/imx/linux-2.6: ARM: clk-imx35: Fix SSI clock registration ARM: clk-imx25: Fix SSI clock registration + Linux 3.6-rc5
Diffstat (limited to 'drivers/xen/swiotlb-xen.c')
-rw-r--r--drivers/xen/swiotlb-xen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c
index 1afb4fba11b4..4d519488d304 100644
--- a/drivers/xen/swiotlb-xen.c
+++ b/drivers/xen/swiotlb-xen.c
@@ -232,7 +232,7 @@ xen_swiotlb_alloc_coherent(struct device *hwdev, size_t size,
return ret;
if (hwdev && hwdev->coherent_dma_mask)
- dma_mask = hwdev->coherent_dma_mask;
+ dma_mask = dma_alloc_coherent_mask(hwdev, flags);
phys = virt_to_phys(ret);
dev_addr = xen_phys_to_bus(phys);