Skip to content

Commit

Permalink
[PARISC] Move ioremap EXPORT_SYMBOL from parisc_ksyms.c
Browse files Browse the repository at this point in the history
Move ioremap/iounmap EXPORT_SYMBOL to ioremap.c where they belong.

Signed-off-by: Kyle McMartin <[email protected]>
  • Loading branch information
Kyle McMartin authored and Kyle McMartin committed Mar 30, 2006
1 parent 2746ae1 commit d345fd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/parisc/kernel/parisc_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ EXPORT_SYMBOL($global$);
#endif

#include <asm/io.h>
EXPORT_SYMBOL(__ioremap);
EXPORT_SYMBOL(iounmap);
EXPORT_SYMBOL(memcpy_toio);
EXPORT_SYMBOL(memcpy_fromio);
EXPORT_SYMBOL(memset_io);
Expand Down
2 changes: 2 additions & 0 deletions arch/parisc/mm/ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,11 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l

return (void __iomem *) (offset + (char *)addr);
}
EXPORT_SYMBOL(__ioremap);

void iounmap(void __iomem *addr)
{
if (addr > high_memory)
return vfree((void *) (PAGE_MASK & (unsigned long __force) addr));
}
EXPORT_SYMBOL(iounmap);

0 comments on commit d345fd3

Please sign in to comment.