diff options
Diffstat (limited to 'arch/sparc/kernel/sparc_ksyms.c')
-rw-r--r-- | arch/sparc/kernel/sparc_ksyms.c | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/arch/sparc/kernel/sparc_ksyms.c b/arch/sparc/kernel/sparc_ksyms.c index f91b0e8d0dc8..1bd430d0ca06 100644 --- a/arch/sparc/kernel/sparc_ksyms.c +++ b/arch/sparc/kernel/sparc_ksyms.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/in6.h> | 20 | #include <linux/in6.h> |
21 | #include <linux/spinlock.h> | 21 | #include <linux/spinlock.h> |
22 | #include <linux/mm.h> | 22 | #include <linux/mm.h> |
23 | #include <linux/syscalls.h> | ||
23 | #ifdef CONFIG_PCI | 24 | #ifdef CONFIG_PCI |
24 | #include <linux/pci.h> | 25 | #include <linux/pci.h> |
25 | #endif | 26 | #endif |
@@ -89,6 +90,9 @@ extern void ___atomic24_sub(void); | |||
89 | extern void ___set_bit(void); | 90 | extern void ___set_bit(void); |
90 | extern void ___clear_bit(void); | 91 | extern void ___clear_bit(void); |
91 | extern void ___change_bit(void); | 92 | extern void ___change_bit(void); |
93 | extern void ___rw_read_enter(void); | ||
94 | extern void ___rw_read_exit(void); | ||
95 | extern void ___rw_write_enter(void); | ||
92 | 96 | ||
93 | /* Alias functions whose names begin with "." and export the aliases. | 97 | /* Alias functions whose names begin with "." and export the aliases. |
94 | * The module references will be fixed up by module_frob_arch_sections. | 98 | * The module references will be fixed up by module_frob_arch_sections. |
@@ -121,9 +125,9 @@ EXPORT_SYMBOL(_do_write_unlock); | |||
121 | #endif | 125 | #endif |
122 | #else | 126 | #else |
123 | // XXX find what uses (or used) these. | 127 | // XXX find what uses (or used) these. |
124 | // EXPORT_SYMBOL_PRIVATE(_rw_read_enter); | 128 | EXPORT_SYMBOL(___rw_read_enter); |
125 | // EXPORT_SYMBOL_PRIVATE(_rw_read_exit); | 129 | EXPORT_SYMBOL(___rw_read_exit); |
126 | // EXPORT_SYMBOL_PRIVATE(_rw_write_enter); | 130 | EXPORT_SYMBOL(___rw_write_enter); |
127 | #endif | 131 | #endif |
128 | /* semaphores */ | 132 | /* semaphores */ |
129 | EXPORT_SYMBOL(__up); | 133 | EXPORT_SYMBOL(__up); |
@@ -144,6 +148,9 @@ EXPORT_SYMBOL(___set_bit); | |||
144 | EXPORT_SYMBOL(___clear_bit); | 148 | EXPORT_SYMBOL(___clear_bit); |
145 | EXPORT_SYMBOL(___change_bit); | 149 | EXPORT_SYMBOL(___change_bit); |
146 | 150 | ||
151 | /* Per-CPU information table */ | ||
152 | EXPORT_PER_CPU_SYMBOL(__cpu_data); | ||
153 | |||
147 | #ifdef CONFIG_SMP | 154 | #ifdef CONFIG_SMP |
148 | /* IRQ implementation. */ | 155 | /* IRQ implementation. */ |
149 | EXPORT_SYMBOL(synchronize_irq); | 156 | EXPORT_SYMBOL(synchronize_irq); |
@@ -151,6 +158,10 @@ EXPORT_SYMBOL(synchronize_irq); | |||
151 | /* Misc SMP information */ | 158 | /* Misc SMP information */ |
152 | EXPORT_SYMBOL(__cpu_number_map); | 159 | EXPORT_SYMBOL(__cpu_number_map); |
153 | EXPORT_SYMBOL(__cpu_logical_map); | 160 | EXPORT_SYMBOL(__cpu_logical_map); |
161 | |||
162 | /* CPU online map and active count. */ | ||
163 | EXPORT_SYMBOL(cpu_online_map); | ||
164 | EXPORT_SYMBOL(phys_cpu_present_map); | ||
154 | #endif | 165 | #endif |
155 | 166 | ||
156 | EXPORT_SYMBOL(__udelay); | 167 | EXPORT_SYMBOL(__udelay); |
@@ -332,3 +343,6 @@ EXPORT_SYMBOL(do_BUG); | |||
332 | 343 | ||
333 | /* Sun Power Management Idle Handler */ | 344 | /* Sun Power Management Idle Handler */ |
334 | EXPORT_SYMBOL(pm_idle); | 345 | EXPORT_SYMBOL(pm_idle); |
346 | |||
347 | /* Binfmt_misc needs this */ | ||
348 | EXPORT_SYMBOL(sys_close); | ||