[PATCH 2.6.9] Export phys_cpu_present_map

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx>

--- 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/


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux