提交 d345fd36 编写于 作者: K Kyle McMartin 提交者: Kyle McMartin

[PARISC] Move ioremap EXPORT_SYMBOL from parisc_ksyms.c

Move ioremap/iounmap EXPORT_SYMBOL to ioremap.c where they belong.
Signed-off-by: NKyle McMartin <kyle@parisc-linux.org>
上级 2746ae14
...@@ -82,8 +82,6 @@ EXPORT_SYMBOL($global$); ...@@ -82,8 +82,6 @@ EXPORT_SYMBOL($global$);
#endif #endif
#include <asm/io.h> #include <asm/io.h>
EXPORT_SYMBOL(__ioremap);
EXPORT_SYMBOL(iounmap);
EXPORT_SYMBOL(memcpy_toio); EXPORT_SYMBOL(memcpy_toio);
EXPORT_SYMBOL(memcpy_fromio); EXPORT_SYMBOL(memcpy_fromio);
EXPORT_SYMBOL(memset_io); EXPORT_SYMBOL(memset_io);
......
...@@ -185,9 +185,11 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l ...@@ -185,9 +185,11 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l
return (void __iomem *) (offset + (char *)addr); return (void __iomem *) (offset + (char *)addr);
} }
EXPORT_SYMBOL(__ioremap);
void iounmap(void __iomem *addr) void iounmap(void __iomem *addr)
{ {
if (addr > high_memory) if (addr > high_memory)
return vfree((void *) (PAGE_MASK & (unsigned long __force) addr)); return vfree((void *) (PAGE_MASK & (unsigned long __force) addr));
} }
EXPORT_SYMBOL(iounmap);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册