summaryrefslogtreecommitdiff
path: root/arch/nios2/mm
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-08-13 08:11:46 +0200
committerChristoph Hellwig <hch@lst.de>2019-11-11 21:18:19 +0100
commit3f3ded99aecf3498ac9a976ec2b02cf5c6281bd4 (patch)
treee75234c1dea72af5d9218e1e78cd04acc854a009 /arch/nios2/mm
parent9425172ecd5df77bc3ba317484132f820ff6b1db (diff)
nios2: remove __iounmap
No need to indirect iounmap for nios2. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/nios2/mm')
-rw-r--r--arch/nios2/mm/ioremap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/nios2/mm/ioremap.c b/arch/nios2/mm/ioremap.c
index 7a1a27f3daa3..b56af759dcdf 100644
--- a/arch/nios2/mm/ioremap.c
+++ b/arch/nios2/mm/ioremap.c
@@ -157,11 +157,11 @@ void __iomem *ioremap(unsigned long phys_addr, unsigned long size)
EXPORT_SYMBOL(ioremap);
/*
- * __iounmap unmaps nearly everything, so be careful
+ * iounmap unmaps nearly everything, so be careful
* it doesn't free currently pointer/page tables anymore but it
* wasn't used anyway and might be added later.
*/
-void __iounmap(void __iomem *addr)
+void iounmap(void __iomem *addr)
{
struct vm_struct *p;
@@ -173,4 +173,4 @@ void __iounmap(void __iomem *addr)
pr_err("iounmap: bad address %p\n", addr);
kfree(p);
}
-EXPORT_SYMBOL(__iounmap);
+EXPORT_SYMBOL(iounmap);