aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/xen/mm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/xen/mm.c')
-rw-r--r--arch/arm/xen/mm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c
index 03e75fef15b8..6dd911d1f0ac 100644
--- a/arch/arm/xen/mm.c
+++ b/arch/arm/xen/mm.c
@@ -139,9 +139,9 @@ void __xen_dma_sync_single_for_device(struct device *hwdev,
139 139
140bool xen_arch_need_swiotlb(struct device *dev, 140bool xen_arch_need_swiotlb(struct device *dev,
141 unsigned long pfn, 141 unsigned long pfn,
142 unsigned long mfn) 142 unsigned long bfn)
143{ 143{
144 return (!hypercall_cflush && (pfn != mfn) && !is_device_dma_coherent(dev)); 144 return (!hypercall_cflush && (pfn != bfn) && !is_device_dma_coherent(dev));
145} 145}
146 146
147int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order, 147int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order,