summaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm/ioremap.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-09-02 10:06:23 +0200
committerWill Deacon <will@kernel.org>2019-09-04 13:12:26 +0100
commite376897f424a1c807779a2635f62eb02d7e382f9 (patch)
treed279ea918e55c00d3bf8f3ee0e725ad33a8dedf1 /arch/arm64/mm/ioremap.c
parent61b7cddfe861f239bf39ab19a065e29b58153a80 (diff)
downloadblackbird-op-linux-e376897f424a1c807779a2635f62eb02d7e382f9.tar.gz
blackbird-op-linux-e376897f424a1c807779a2635f62eb02d7e382f9.zip
arm64: remove __iounmap
No need to indirect iounmap for arm64. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/mm/ioremap.c')
-rw-r--r--arch/arm64/mm/ioremap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/mm/ioremap.c b/arch/arm64/mm/ioremap.c
index fdb595a5d65f..9be71bee902c 100644
--- a/arch/arm64/mm/ioremap.c
+++ b/arch/arm64/mm/ioremap.c
@@ -69,7 +69,7 @@ void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_t prot)
}
EXPORT_SYMBOL(__ioremap);
-void __iounmap(volatile void __iomem *io_addr)
+void iounmap(volatile void __iomem *io_addr)
{
unsigned long addr = (unsigned long)io_addr & PAGE_MASK;
@@ -80,7 +80,7 @@ void __iounmap(volatile void __iomem *io_addr)
if (is_vmalloc_addr((void *)addr))
vunmap((void *)addr);
}
-EXPORT_SYMBOL(__iounmap);
+EXPORT_SYMBOL(iounmap);
void __iomem *ioremap_cache(phys_addr_t phys_addr, size_t size)
{
OpenPOWER on IntegriCloud