In net/ipv6/icmp.c::icmpv6_init() there is a call to cpu_possible()
which preprocesses down to "test_bit(((i)), (phys_cpu_present_map).bits)"
If ipv6 is a module, phys_cpu_present_map (or cpu_possible_map which is
defined t phys_cpu_present_map) needs to be exported.
Signed-off-by: Tom Rini <trini@kernel.crashing.org>
--- linux-2.6.9.orig/arch/mips/kernel/smp.c
+++ linux-2.6.9/arch/mips/kernel/smp.c
@@ -44,6 +44,7 @@ cpumask_t cpu_online_map; /* Bitmask of
int __cpu_number_map[NR_CPUS]; /* Map physical to logical */
int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */
+EXPORT_SYMBOL(phys_cpu_present_map);
EXPORT_SYMBOL(cpu_online_map);
cycles_t cacheflush_time;
--
Tom Rini
http://gate.crashing.org/~trini/
|