summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@citrix.com>2015-09-09 14:17:33 (GMT)
committerDavid Vrabel <david.vrabel@citrix.com>2015-10-23 13:20:43 (GMT)
commit291be10fd7511101d44cf98166d049bd31bc7600 (patch)
tree668ca1a692248892515894661ed129ef44f82825 /arch/arm/include
parent250c9af3d831139317009eaebbe82e20d23a581f (diff)
downloadlinux-291be10fd7511101d44cf98166d049bd31bc7600.tar.xz
xen/swiotlb: Pass addresses rather than frame numbers to xen_arch_need_swiotlb
With 64KB page granularity support, the frame number will be different. It will be easier to modify the behavior in a single place rather than in each caller. Signed-off-by: Julien Grall <julien.grall@citrix.com> Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/xen/page.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/xen/page.h b/arch/arm/include/asm/xen/page.h
index e3d94cf..415dbc6 100644
--- a/arch/arm/include/asm/xen/page.h
+++ b/arch/arm/include/asm/xen/page.h
@@ -115,8 +115,8 @@ static inline bool set_phys_to_machine(unsigned long pfn, unsigned long mfn)
#define xen_unmap(cookie) iounmap((cookie))
bool xen_arch_need_swiotlb(struct device *dev,
- unsigned long pfn,
- unsigned long bfn);
+ phys_addr_t phys,
+ dma_addr_t dev_addr);
unsigned long xen_get_swiotlb_free_pages(unsigned int order);
#endif /* _ASM_ARM_XEN_PAGE_H */