[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190814220011.26934-2-robdclark@gmail.com>
Date: Wed, 14 Aug 2019 14:59:56 -0700
From: Rob Clark <robdclark@...il.com>
To: dri-devel@...ts.freedesktop.org
Cc: Christoph Hellwig <hch@....de>, Rob Clark <robdclark@...omium.org>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Robin Murphy <robin.murphy@....com>,
Joerg Roedel <jroedel@...e.de>,
Jesper Dangaard Brouer <brouer@...hat.com>,
Masayoshi Mizuma <m.mizuma@...fujitsu.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH 1/6] arm64: export arch_sync_dma_for_*()
From: Rob Clark <robdclark@...omium.org>
Signed-off-by: Rob Clark <robdclark@...omium.org>
---
arch/arm64/mm/dma-mapping.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c
index 1d3f0b5a9940..ea5ae11d07f7 100644
--- a/arch/arm64/mm/dma-mapping.c
+++ b/arch/arm64/mm/dma-mapping.c
@@ -24,12 +24,14 @@ void arch_sync_dma_for_device(struct device *dev, phys_addr_t paddr,
{
__dma_map_area(phys_to_virt(paddr), size, dir);
}
+EXPORT_SYMBOL_GPL(arch_sync_dma_for_device);
void arch_sync_dma_for_cpu(struct device *dev, phys_addr_t paddr,
size_t size, enum dma_data_direction dir)
{
__dma_unmap_area(phys_to_virt(paddr), size, dir);
}
+EXPORT_SYMBOL_GPL(arch_sync_dma_for_cpu);
void arch_dma_prep_coherent(struct page *page, size_t size)
{
--
2.21.0
Powered by blists - more mailing lists