mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
[PARISC] Move ioremap EXPORT_SYMBOL from parisc_ksyms.c
Move ioremap/iounmap EXPORT_SYMBOL to ioremap.c where they belong. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
parent
2746ae14fe
commit
d345fd362b
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
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);
|
||||||
|
|
Loading…
Reference in a new issue