diff options
author | Tom 'spot' Callaway <tcallawa@redhat.com> | 2005-04-24 23:45:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-04-24 23:45:06 -0400 |
commit | 962bd5604bf8a4d31d9204e7daf260ea93084bc0 (patch) | |
tree | 1aff1163866f85c2c0eb928c9e3802074d8d272b | |
parent | f1dee7ea250bfef433fc46fd69a52b73349b24de (diff) |
[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>
-rw-r--r-- | arch/sparc/kernel/sparc_ksyms.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sparc/kernel/sparc_ksyms.c b/arch/sparc/kernel/sparc_ksyms.c index bfc04ca560d7..1bd430d0ca06 100644 --- a/arch/sparc/kernel/sparc_ksyms.c +++ b/arch/sparc/kernel/sparc_ksyms.c | |||
@@ -148,6 +148,9 @@ EXPORT_SYMBOL(___set_bit); | |||
148 | EXPORT_SYMBOL(___clear_bit); | 148 | EXPORT_SYMBOL(___clear_bit); |
149 | EXPORT_SYMBOL(___change_bit); | 149 | EXPORT_SYMBOL(___change_bit); |
150 | 150 | ||
151 | /* Per-CPU information table */ | ||
152 | EXPORT_PER_CPU_SYMBOL(__cpu_data); | ||
153 | |||
151 | #ifdef CONFIG_SMP | 154 | #ifdef CONFIG_SMP |
152 | /* IRQ implementation. */ | 155 | /* IRQ implementation. */ |
153 | EXPORT_SYMBOL(synchronize_irq); | 156 | EXPORT_SYMBOL(synchronize_irq); |
@@ -155,6 +158,10 @@ EXPORT_SYMBOL(synchronize_irq); | |||
155 | /* Misc SMP information */ | 158 | /* Misc SMP information */ |
156 | EXPORT_SYMBOL(__cpu_number_map); | 159 | EXPORT_SYMBOL(__cpu_number_map); |
157 | 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); | ||
158 | #endif | 165 | #endif |
159 | 166 | ||
160 | EXPORT_SYMBOL(__udelay); | 167 | EXPORT_SYMBOL(__udelay); |