summaryrefslogtreecommitdiffstats
path: root/arch/m68k/mm/sun3kmap.c
diff options
context:
space:
mode:
authorAl Viro2006-10-11 18:28:27 +0200
committerLinus Torvalds2006-10-11 20:17:06 +0200
commit2e811488cedddefb9d1df97c260b6048ea8ef835 (patch)
treeb24390217e2c583099e311c678a88b33dbb1bd49 /arch/m68k/mm/sun3kmap.c
parent[PATCH] sun3 __iomem annotations (diff)
downloadkernel-qcow2-linux-2e811488cedddefb9d1df97c260b6048ea8ef835.tar.gz
kernel-qcow2-linux-2e811488cedddefb9d1df97c260b6048ea8ef835.tar.xz
kernel-qcow2-linux-2e811488cedddefb9d1df97c260b6048ea8ef835.zip
[PATCH] clean m68k ksyms
sun3_ksyms gone, m68k_ksyms trimmed down to exports of the assembler ones, for sun3 added the missing exports of __ioremap() and iounmap(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m68k/mm/sun3kmap.c')
-rw-r--r--arch/m68k/mm/sun3kmap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/m68k/mm/sun3kmap.c b/arch/m68k/mm/sun3kmap.c
index 8caa45908cb1..1af24cb5bfe1 100644
--- a/arch/m68k/mm/sun3kmap.c
+++ b/arch/m68k/mm/sun3kmap.c
@@ -8,6 +8,7 @@
* for more details.
*/
+#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/mm.h>
@@ -112,11 +113,13 @@ void __iomem *__ioremap(unsigned long phys, unsigned long size, int cache)
return sun3_ioremap(phys, size, SUN3_PAGE_TYPE_IO);
}
+EXPORT_SYMBOL(__ioremap);
void iounmap(void __iomem *addr)
{
vfree((void *)(PAGE_MASK & (unsigned long)addr));
}
+EXPORT_SYMBOL(iounmap);
/* sun3_map_test(addr, val) -- Reads a byte from addr, storing to val,
* trapping the potential read fault. Returns 0 if the access faulted,