Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

m68k: kill arch/m68k/atari/atari_ksyms.c

EXPORT_SYMBOL's belong to the actual code.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Adrian Bunk and committed by
Linus Torvalds
a3b2004a 8b169fa2

+31 -36
+1 -1
arch/m68k/atari/Makefile
··· 3 3 # 4 4 5 5 obj-y := config.o time.o debug.o ataints.o stdma.o \ 6 - atasound.o stram.o atari_ksyms.o 6 + atasound.o stram.o 7 7 8 8 ifeq ($(CONFIG_PCI),y) 9 9 obj-$(CONFIG_HADES) += hades-pci.o
+3
arch/m68k/atari/ataints.c
··· 40 40 #include <linux/kernel_stat.h> 41 41 #include <linux/init.h> 42 42 #include <linux/seq_file.h> 43 + #include <linux/module.h> 43 44 44 45 #include <asm/system.h> 45 46 #include <asm/traps.h> ··· 447 446 free_vme_vec_bitmap |= 1 << i; 448 447 return VME_SOURCE_BASE + i; 449 448 } 449 + EXPORT_SYMBOL(atari_register_vme_int); 450 450 451 451 452 452 void atari_unregister_vme_int(unsigned long irq) ··· 457 455 free_vme_vec_bitmap &= ~(1 << irq); 458 456 } 459 457 } 458 + EXPORT_SYMBOL(atari_unregister_vme_int); 460 459 461 460
-35
arch/m68k/atari/atari_ksyms.c
··· 1 - #include <linux/module.h> 2 - 3 - #include <asm/ptrace.h> 4 - #include <asm/traps.h> 5 - #include <asm/atarihw.h> 6 - #include <asm/atariints.h> 7 - #include <asm/atarikb.h> 8 - #include <asm/atari_joystick.h> 9 - #include <asm/atari_stdma.h> 10 - #include <asm/atari_stram.h> 11 - 12 - extern void atari_microwire_cmd( int cmd ); 13 - extern int atari_MFP_init_done; 14 - extern int atari_SCC_init_done; 15 - extern int atari_SCC_reset_done; 16 - 17 - EXPORT_SYMBOL(atari_mch_cookie); 18 - EXPORT_SYMBOL(atari_mch_type); 19 - EXPORT_SYMBOL(atari_hw_present); 20 - EXPORT_SYMBOL(atari_switches); 21 - EXPORT_SYMBOL(atari_dont_touch_floppy_select); 22 - EXPORT_SYMBOL(atari_register_vme_int); 23 - EXPORT_SYMBOL(atari_unregister_vme_int); 24 - EXPORT_SYMBOL(stdma_lock); 25 - EXPORT_SYMBOL(stdma_release); 26 - EXPORT_SYMBOL(stdma_others_waiting); 27 - EXPORT_SYMBOL(stdma_islocked); 28 - EXPORT_SYMBOL(atari_stram_alloc); 29 - EXPORT_SYMBOL(atari_stram_free); 30 - 31 - EXPORT_SYMBOL(atari_MFP_init_done); 32 - EXPORT_SYMBOL(atari_SCC_init_done); 33 - EXPORT_SYMBOL(atari_SCC_reset_done); 34 - 35 - EXPORT_SYMBOL(atari_microwire_cmd);
+2
arch/m68k/atari/atasound.c
··· 22 22 #include <linux/fcntl.h> 23 23 #include <linux/errno.h> 24 24 #include <linux/mm.h> 25 + #include <linux/module.h> 25 26 26 27 #include <asm/atarihw.h> 27 28 #include <asm/system.h> ··· 44 43 while( tt_microwire.mask != 0x7ff) 45 44 ; 46 45 } 46 + EXPORT_SYMBOL(atari_microwire_cmd); 47 47 48 48 49 49 /* PSG base frequency */
+11
arch/m68k/atari/config.c
··· 31 31 #include <linux/delay.h> 32 32 #include <linux/ioport.h> 33 33 #include <linux/vt_kern.h> 34 + #include <linux/module.h> 34 35 35 36 #include <asm/bootinfo.h> 36 37 #include <asm/setup.h> ··· 44 43 #include <asm/io.h> 45 44 46 45 u_long atari_mch_cookie; 46 + EXPORT_SYMBOL(atari_mch_cookie); 47 + 47 48 u_long atari_mch_type; 49 + EXPORT_SYMBOL(atari_mch_type); 50 + 48 51 struct atari_hw_present atari_hw_present; 52 + EXPORT_SYMBOL(atari_hw_present); 53 + 49 54 u_long atari_switches; 55 + EXPORT_SYMBOL(atari_switches); 56 + 50 57 int atari_dont_touch_floppy_select; 58 + EXPORT_SYMBOL(atari_dont_touch_floppy_select); 59 + 51 60 int atari_rtc_year_offset; 52 61 53 62 /* local function prototypes */
+6
arch/m68k/atari/debug.c
··· 15 15 #include <linux/console.h> 16 16 #include <linux/init.h> 17 17 #include <linux/delay.h> 18 + #include <linux/module.h> 18 19 19 20 #include <asm/atarihw.h> 20 21 #include <asm/atariints.h> 21 22 22 23 /* Flag that Modem1 port is already initialized and used */ 23 24 int atari_MFP_init_done; 25 + EXPORT_SYMBOL(atari_MFP_init_done); 26 + 24 27 /* Flag that Modem1 port is already initialized and used */ 25 28 int atari_SCC_init_done; 29 + EXPORT_SYMBOL(atari_SCC_init_done); 30 + 26 31 /* Can be set somewhere, if a SCC master reset has already be done and should 27 32 * not be repeated; used by kgdb */ 28 33 int atari_SCC_reset_done; 34 + EXPORT_SYMBOL(atari_SCC_reset_done); 29 35 30 36 static struct console atari_console_driver = { 31 37 .name = "debug",
+5
arch/m68k/atari/stdma.c
··· 35 35 #include <linux/init.h> 36 36 #include <linux/interrupt.h> 37 37 #include <linux/wait.h> 38 + #include <linux/module.h> 38 39 39 40 #include <asm/atari_stdma.h> 40 41 #include <asm/atariints.h> ··· 92 91 stdma_isr_data = data; 93 92 local_irq_restore(flags); 94 93 } 94 + EXPORT_SYMBOL(stdma_lock); 95 95 96 96 97 97 /* ··· 119 117 120 118 local_irq_restore(flags); 121 119 } 120 + EXPORT_SYMBOL(stdma_release); 122 121 123 122 124 123 /* ··· 137 134 { 138 135 return waitqueue_active(&stdma_wait); 139 136 } 137 + EXPORT_SYMBOL(stdma_others_waiting); 140 138 141 139 142 140 /* ··· 159 155 { 160 156 return stdma_locked; 161 157 } 158 + EXPORT_SYMBOL(stdma_islocked); 162 159 163 160 164 161 /*
+3
arch/m68k/atari/stram.c
··· 20 20 #include <linux/bootmem.h> 21 21 #include <linux/mount.h> 22 22 #include <linux/blkdev.h> 23 + #include <linux/module.h> 23 24 24 25 #include <asm/setup.h> 25 26 #include <asm/machdep.h> ··· 209 208 } 210 209 return( addr ); 211 210 } 211 + EXPORT_SYMBOL(atari_stram_alloc); 212 212 213 213 void atari_stram_free( void *addr ) 214 214 ··· 239 237 printk( KERN_ERR "atari_stram_free: cannot free block at %p " 240 238 "(called from %p)\n", addr, __builtin_return_address(0) ); 241 239 } 240 + EXPORT_SYMBOL(atari_stram_free); 242 241 243 242 244 243 /* ------------------------------------------------------------------------ */