Skip to content

Commit 962bd56

Browse files
Tom 'spot' Callawaydavem330
authored andcommitted
[SPARC]: More sparc32 ksyms cleanups
The sparc32 ksyms is missing a few more symbols, these are primarily related to SMP, and will be needed as SMP gets beaten back into functionality. Specifically, add __cpu_data (PER_CPU), cpu_online_map, and phys_cpu_present_map. This patch assumes that the earlier "linux-2.6.11-sparc-fixksyms.patch" is applied, otherwise, it will apply with fuzz. Signed-off-by: Tom 'spot' Callaway <tcallawa@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent f1dee7e commit 962bd56

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎arch/sparc/kernel/sparc_ksyms.c‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,20 @@ EXPORT_SYMBOL(___set_bit);
148148
EXPORT_SYMBOL(___clear_bit);
149149
EXPORT_SYMBOL(___change_bit);
150150

151+
/* Per-CPU information table */
152+
EXPORT_PER_CPU_SYMBOL(__cpu_data);
153+
151154
#ifdef CONFIG_SMP
152155
/* IRQ implementation. */
153156
EXPORT_SYMBOL(synchronize_irq);
154157

155158
/* Misc SMP information */
156159
EXPORT_SYMBOL(__cpu_number_map);
157160
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);
158165
#endif
159166

160167
EXPORT_SYMBOL(__udelay);

0 commit comments

Comments
 (0)