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/sun3 | |
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/sun3')
-rw-r--r-- | arch/m68k/sun3/Makefile | 2 | ||||
-rw-r--r-- | arch/m68k/sun3/idprom.c | 3 | ||||
-rw-r--r-- | arch/m68k/sun3/sun3_ksyms.c | 13 | ||||
-rw-r--r-- | arch/m68k/sun3/sun3dvma.c | 6 |
4 files changed, 9 insertions, 15 deletions
diff --git a/arch/m68k/sun3/Makefile b/arch/m68k/sun3/Makefile index 4d4f0695d985..be1a8470d636 100644 --- a/arch/m68k/sun3/Makefile +++ b/arch/m68k/sun3/Makefile | |||
@@ -2,6 +2,6 @@ | |||
2 | # Makefile for Linux arch/m68k/sun3 source directory | 2 | # Makefile for Linux arch/m68k/sun3 source directory |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y := sun3_ksyms.o sun3ints.o sun3dvma.o sbus.o idprom.o | 5 | obj-y := sun3ints.o sun3dvma.o sbus.o idprom.o |
6 | 6 | ||
7 | obj-$(CONFIG_SUN3) += config.o mmu_emu.o leds.o dvma.o intersil.o | 7 | obj-$(CONFIG_SUN3) += config.o mmu_emu.o leds.o dvma.o intersil.o |
diff --git a/arch/m68k/sun3/idprom.c b/arch/m68k/sun3/idprom.c index 02c1fee6fe74..dca6ab6a4ede 100644 --- a/arch/m68k/sun3/idprom.c +++ b/arch/m68k/sun3/idprom.c | |||
@@ -6,6 +6,7 @@ | |||
6 | * Sun3/3x models added by David Monro (davidm@psrg.cs.usyd.edu.au) | 6 | * Sun3/3x models added by David Monro (davidm@psrg.cs.usyd.edu.au) |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/module.h> | ||
9 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
10 | #include <linux/types.h> | 11 | #include <linux/types.h> |
11 | #include <linux/init.h> | 12 | #include <linux/init.h> |
@@ -16,6 +17,8 @@ | |||
16 | #include <asm/machines.h> /* Fun with Sun released architectures. */ | 17 | #include <asm/machines.h> /* Fun with Sun released architectures. */ |
17 | 18 | ||
18 | struct idprom *idprom; | 19 | struct idprom *idprom; |
20 | EXPORT_SYMBOL(idprom); | ||
21 | |||
19 | static struct idprom idprom_buffer; | 22 | static struct idprom idprom_buffer; |
20 | 23 | ||
21 | /* Here is the master table of Sun machines which use some implementation | 24 | /* Here is the master table of Sun machines which use some implementation |
diff --git a/arch/m68k/sun3/sun3_ksyms.c b/arch/m68k/sun3/sun3_ksyms.c deleted file mode 100644 index 43e5a9af8abd..000000000000 --- a/arch/m68k/sun3/sun3_ksyms.c +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #include <linux/module.h> | ||
2 | #include <linux/types.h> | ||
3 | #include <asm/dvma.h> | ||
4 | #include <asm/idprom.h> | ||
5 | |||
6 | /* | ||
7 | * Add things here when you find the need for it. | ||
8 | */ | ||
9 | EXPORT_SYMBOL(dvma_map_align); | ||
10 | EXPORT_SYMBOL(dvma_unmap); | ||
11 | EXPORT_SYMBOL(dvma_malloc_align); | ||
12 | EXPORT_SYMBOL(dvma_free); | ||
13 | EXPORT_SYMBOL(idprom); | ||
diff --git a/arch/m68k/sun3/sun3dvma.c b/arch/m68k/sun3/sun3dvma.c index a2bc2da7f8f0..8709677fa025 100644 --- a/arch/m68k/sun3/sun3dvma.c +++ b/arch/m68k/sun3/sun3dvma.c | |||
@@ -6,6 +6,7 @@ | |||
6 | * Contains common routines for sun3/sun3x DVMA management. | 6 | * Contains common routines for sun3/sun3x DVMA management. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/module.h> | ||
9 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
10 | #include <linux/mm.h> | 11 | #include <linux/mm.h> |
11 | #include <linux/list.h> | 12 | #include <linux/list.h> |
@@ -312,6 +313,7 @@ inline unsigned long dvma_map_align(unsigned long kaddr, int len, int align) | |||
312 | BUG(); | 313 | BUG(); |
313 | return 0; | 314 | return 0; |
314 | } | 315 | } |
316 | EXPORT_SYMBOL(dvma_map_align); | ||
315 | 317 | ||
316 | void dvma_unmap(void *baddr) | 318 | void dvma_unmap(void *baddr) |
317 | { | 319 | { |
@@ -327,7 +329,7 @@ void dvma_unmap(void *baddr) | |||
327 | return; | 329 | return; |
328 | 330 | ||
329 | } | 331 | } |
330 | 332 | EXPORT_SYMBOL(dvma_unmap); | |
331 | 333 | ||
332 | void *dvma_malloc_align(unsigned long len, unsigned long align) | 334 | void *dvma_malloc_align(unsigned long len, unsigned long align) |
333 | { | 335 | { |
@@ -367,6 +369,7 @@ void *dvma_malloc_align(unsigned long len, unsigned long align) | |||
367 | return (void *)vaddr; | 369 | return (void *)vaddr; |
368 | 370 | ||
369 | } | 371 | } |
372 | EXPORT_SYMBOL(dvma_malloc_align); | ||
370 | 373 | ||
371 | void dvma_free(void *vaddr) | 374 | void dvma_free(void *vaddr) |
372 | { | 375 | { |
@@ -374,3 +377,4 @@ void dvma_free(void *vaddr) | |||
374 | return; | 377 | return; |
375 | 378 | ||
376 | } | 379 | } |
380 | EXPORT_SYMBOL(dvma_free); | ||