diff options
author | Kyle McMartin <kyle@parisc-linux.org> | 2006-03-29 17:18:32 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@hera.kernel.org> | 2006-03-30 12:48:57 -0500 |
commit | d345fd362b1a8b14cc2dacf6a10c28b1962759d3 (patch) | |
tree | 943daff53a2347cb9593b51285e2642181833f13 | |
parent | 2746ae14fe55f9483ae94ef89d4495d0eb8ee03d (diff) |
[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>
-rw-r--r-- | arch/parisc/kernel/parisc_ksyms.c | 2 | ||||
-rw-r--r-- | arch/parisc/mm/ioremap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/kernel/parisc_ksyms.c b/arch/parisc/kernel/parisc_ksyms.c index 1d00c365f2b1..4c3378fb2afe 100644 --- a/arch/parisc/kernel/parisc_ksyms.c +++ b/arch/parisc/kernel/parisc_ksyms.c | |||
@@ -82,8 +82,6 @@ EXPORT_SYMBOL($global$); | |||
82 | #endif | 82 | #endif |
83 | 83 | ||
84 | #include <asm/io.h> | 84 | #include <asm/io.h> |
85 | EXPORT_SYMBOL(__ioremap); | ||
86 | EXPORT_SYMBOL(iounmap); | ||
87 | EXPORT_SYMBOL(memcpy_toio); | 85 | EXPORT_SYMBOL(memcpy_toio); |
88 | EXPORT_SYMBOL(memcpy_fromio); | 86 | EXPORT_SYMBOL(memcpy_fromio); |
89 | EXPORT_SYMBOL(memset_io); | 87 | EXPORT_SYMBOL(memset_io); |
diff --git a/arch/parisc/mm/ioremap.c b/arch/parisc/mm/ioremap.c index 5067ea90d91a..0db12818d7bc 100644 --- a/arch/parisc/mm/ioremap.c +++ b/arch/parisc/mm/ioremap.c | |||
@@ -185,9 +185,11 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l | |||
185 | 185 | ||
186 | return (void __iomem *) (offset + (char *)addr); | 186 | return (void __iomem *) (offset + (char *)addr); |
187 | } | 187 | } |
188 | EXPORT_SYMBOL(__ioremap); | ||
188 | 189 | ||
189 | void iounmap(void __iomem *addr) | 190 | void iounmap(void __iomem *addr) |
190 | { | 191 | { |
191 | if (addr > high_memory) | 192 | if (addr > high_memory) |
192 | return vfree((void *) (PAGE_MASK & (unsigned long __force) addr)); | 193 | return vfree((void *) (PAGE_MASK & (unsigned long __force) addr)); |
193 | } | 194 | } |
195 | EXPORT_SYMBOL(iounmap); | ||