Skip to content

Commit 5489c8e

Browse files
author
Christoph Hellwig
committed
arm64: use asm-generic/dma-mapping.h
Now that the Xen special cases are gone nothing worth mentioning is left in the arm64 <asm/dma-mapping.h> file, so switch to use the asm-generic version instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Will Deacon <will@kernel.org> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
1 parent bf7954e commit 5489c8e

3 files changed

Lines changed: 2 additions & 22 deletions

File tree

‎arch/arm64/include/asm/Kbuild‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ generic-y += delay.h
44
generic-y += div64.h
55
generic-y += dma.h
66
generic-y += dma-contiguous.h
7+
generic-y += dma-mapping.h
78
generic-y += early_ioremap.h
89
generic-y += emergency-restart.h
910
generic-y += hw_irq.h

‎arch/arm64/include/asm/dma-mapping.h‎

Lines changed: 0 additions & 22 deletions
This file was deleted.

‎arch/arm64/mm/dma-mapping.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <linux/cache.h>
99
#include <linux/dma-noncoherent.h>
1010
#include <linux/dma-iommu.h>
11+
#include <xen/xen.h>
1112
#include <xen/swiotlb-xen.h>
1213

1314
#include <asm/cacheflush.h>

0 commit comments

Comments
 (0)