summaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-07-24 14:09:39 +0200
committerChristoph Hellwig <hch@lst.de>2019-09-11 12:43:26 +0200
commit0e0d26e779d30086a7e86fcfae2d897bbc5579da (patch)
treee9d46ad62e08671957d024627cd24f36167ae6eb /include/xen
parentxen/arm: simplify dma_cache_maint (diff)
downloadlinux-0e0d26e779d30086a7e86fcfae2d897bbc5579da.tar.xz
linux-0e0d26e779d30086a7e86fcfae2d897bbc5579da.zip
xen/arm: remove xen_dma_ops
arm and arm64 can just use xen_swiotlb_dma_ops directly like x86, no need for a pointer indirection. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Julien Grall <julien.grall@arm.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/arm/hypervisor.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/xen/arm/hypervisor.h b/include/xen/arm/hypervisor.h
index 2982571f7cc1..43ef24dd030e 100644
--- a/include/xen/arm/hypervisor.h
+++ b/include/xen/arm/hypervisor.h
@@ -19,8 +19,6 @@ static inline enum paravirt_lazy_mode paravirt_get_lazy_mode(void)
return PARAVIRT_LAZY_NONE;
}
-extern const struct dma_map_ops *xen_dma_ops;
-
#ifdef CONFIG_XEN
void __init xen_early_init(void);
#else