diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-11 12:28:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 14:17:06 -0400 |
commit | 2e811488cedddefb9d1df97c260b6048ea8ef835 (patch) | |
tree | b24390217e2c583099e311c678a88b33dbb1bd49 /arch/m68k/mm/kmap.c | |
parent | 437111ca381263520d23c877e55e0a83558e79da (diff) |
[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/kmap.c')
-rw-r--r-- | arch/m68k/mm/kmap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/mm/kmap.c b/arch/m68k/mm/kmap.c index f46f049d29ff..b54ef1726c55 100644 --- a/arch/m68k/mm/kmap.c +++ b/arch/m68k/mm/kmap.c | |||
@@ -7,6 +7,7 @@ | |||
7 | * used by other architectures /Roman Zippel | 7 | * used by other architectures /Roman Zippel |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/module.h> | ||
10 | #include <linux/mm.h> | 11 | #include <linux/mm.h> |
11 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
12 | #include <linux/string.h> | 13 | #include <linux/string.h> |
@@ -219,6 +220,7 @@ void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cachefla | |||
219 | 220 | ||
220 | return (void __iomem *)retaddr; | 221 | return (void __iomem *)retaddr; |
221 | } | 222 | } |
223 | EXPORT_SYMBOL(__ioremap); | ||
222 | 224 | ||
223 | /* | 225 | /* |
224 | * Unmap a ioremap()ed region again | 226 | * Unmap a ioremap()ed region again |
@@ -234,6 +236,7 @@ void iounmap(void __iomem *addr) | |||
234 | free_io_area((__force void *)addr); | 236 | free_io_area((__force void *)addr); |
235 | #endif | 237 | #endif |
236 | } | 238 | } |
239 | EXPORT_SYMBOL(iounmap); | ||
237 | 240 | ||
238 | /* | 241 | /* |
239 | * __iounmap unmaps nearly everything, so be careful | 242 | * __iounmap unmaps nearly everything, so be careful |
@@ -360,3 +363,4 @@ void kernel_set_cachemode(void *addr, unsigned long size, int cmode) | |||
360 | 363 | ||
361 | flush_tlb_all(); | 364 | flush_tlb_all(); |
362 | } | 365 | } |
366 | EXPORT_SYMBOL(kernel_set_cachemode); | ||