diff options
Diffstat (limited to 'arch/m68k/kernel/setup.c')
-rw-r--r-- | arch/m68k/kernel/setup.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/m68k/kernel/setup.c b/arch/m68k/kernel/setup.c index 42d5b85f3350..9af3ee0e555d 100644 --- a/arch/m68k/kernel/setup.c +++ b/arch/m68k/kernel/setup.c | |||
@@ -42,27 +42,37 @@ | |||
42 | 42 | ||
43 | unsigned long m68k_machtype; | 43 | unsigned long m68k_machtype; |
44 | unsigned long m68k_cputype; | 44 | unsigned long m68k_cputype; |
45 | EXPORT_SYMBOL(m68k_machtype); | ||
46 | EXPORT_SYMBOL(m68k_cputype); | ||
45 | unsigned long m68k_fputype; | 47 | unsigned long m68k_fputype; |
46 | unsigned long m68k_mmutype; | 48 | unsigned long m68k_mmutype; |
47 | #ifdef CONFIG_VME | 49 | #ifdef CONFIG_VME |
48 | unsigned long vme_brdtype; | 50 | unsigned long vme_brdtype; |
51 | EXPORT_SYMBOL(vme_brdtype); | ||
49 | #endif | 52 | #endif |
50 | 53 | ||
51 | int m68k_is040or060; | 54 | int m68k_is040or060; |
55 | EXPORT_SYMBOL(m68k_is040or060); | ||
52 | 56 | ||
53 | extern int end; | 57 | extern int end; |
54 | extern unsigned long availmem; | 58 | extern unsigned long availmem; |
55 | 59 | ||
56 | int m68k_num_memory; | 60 | int m68k_num_memory; |
57 | int m68k_realnum_memory; | 61 | int m68k_realnum_memory; |
62 | EXPORT_SYMBOL(m68k_realnum_memory); | ||
63 | #ifdef CONFIG_SINGLE_MEMORY_CHUNK | ||
58 | unsigned long m68k_memoffset; | 64 | unsigned long m68k_memoffset; |
65 | EXPORT_SYMBOL(m68k_memoffset); | ||
66 | #endif | ||
59 | struct mem_info m68k_memory[NUM_MEMINFO]; | 67 | struct mem_info m68k_memory[NUM_MEMINFO]; |
68 | EXPORT_SYMBOL(m68k_memory); | ||
60 | 69 | ||
61 | static struct mem_info m68k_ramdisk; | 70 | static struct mem_info m68k_ramdisk; |
62 | 71 | ||
63 | static char m68k_command_line[CL_SIZE]; | 72 | static char m68k_command_line[CL_SIZE]; |
64 | 73 | ||
65 | char m68k_debug_device[6] = ""; | 74 | char m68k_debug_device[6] = ""; |
75 | EXPORT_SYMBOL(m68k_debug_device); | ||
66 | 76 | ||
67 | void (*mach_sched_init) (irq_handler_t handler) __initdata = NULL; | 77 | void (*mach_sched_init) (irq_handler_t handler) __initdata = NULL; |
68 | /* machine dependent irq functions */ | 78 | /* machine dependent irq functions */ |
@@ -72,10 +82,14 @@ int (*mach_get_hardware_list) (char *buffer); | |||
72 | /* machine dependent timer functions */ | 82 | /* machine dependent timer functions */ |
73 | unsigned long (*mach_gettimeoffset) (void); | 83 | unsigned long (*mach_gettimeoffset) (void); |
74 | int (*mach_hwclk) (int, struct rtc_time*); | 84 | int (*mach_hwclk) (int, struct rtc_time*); |
85 | EXPORT_SYMBOL(mach_hwclk); | ||
75 | int (*mach_set_clock_mmss) (unsigned long); | 86 | int (*mach_set_clock_mmss) (unsigned long); |
76 | unsigned int (*mach_get_ss)(void); | 87 | unsigned int (*mach_get_ss)(void); |
77 | int (*mach_get_rtc_pll)(struct rtc_pll_info *); | 88 | int (*mach_get_rtc_pll)(struct rtc_pll_info *); |
78 | int (*mach_set_rtc_pll)(struct rtc_pll_info *); | 89 | int (*mach_set_rtc_pll)(struct rtc_pll_info *); |
90 | EXPORT_SYMBOL(mach_get_ss); | ||
91 | EXPORT_SYMBOL(mach_get_rtc_pll); | ||
92 | EXPORT_SYMBOL(mach_set_rtc_pll); | ||
79 | void (*mach_reset)( void ); | 93 | void (*mach_reset)( void ); |
80 | void (*mach_halt)( void ); | 94 | void (*mach_halt)( void ); |
81 | void (*mach_power_off)( void ); | 95 | void (*mach_power_off)( void ); |
@@ -89,6 +103,7 @@ void (*mach_l2_flush) (int); | |||
89 | #endif | 103 | #endif |
90 | #if defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE) | 104 | #if defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE) |
91 | void (*mach_beep)(unsigned int, unsigned int); | 105 | void (*mach_beep)(unsigned int, unsigned int); |
106 | EXPORT_SYMBOL(mach_beep); | ||
92 | #endif | 107 | #endif |
93 | #if defined(CONFIG_ISA) && defined(MULTI_ISA) | 108 | #if defined(CONFIG_ISA) && defined(MULTI_ISA) |
94 | int isa_type; | 109 | int isa_type; |