From: Patrick Mansfield On NUMAQ, any module which calls __alloc_pages() needs cpu_2_node() (via cpu_to_node()). This patch exports cpu_2_node. --- arch/i386/kernel/smpboot.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN arch/i386/kernel/smpboot.c~export-cpu_2_node arch/i386/kernel/smpboot.c --- 25/arch/i386/kernel/smpboot.c~export-cpu_2_node 2004-02-02 00:37:36.000000000 -0800 +++ 25-akpm/arch/i386/kernel/smpboot.c 2004-02-02 00:37:36.000000000 -0800 @@ -33,6 +33,7 @@ * Dave Jones : Report invalid combinations of Athlon CPUs. * Rusty Russell : Hacked into shape for new "hotplug" boot process. */ +#include #include #include #include @@ -517,6 +518,7 @@ cpumask_t node_2_cpu_mask[MAX_NUMNODES] { [0 ... MAX_NUMNODES-1] = CPU_MASK_NONE }; /* which node each logical CPU is on */ int cpu_2_node[NR_CPUS] = { [0 ... NR_CPUS-1] = 0 }; +EXPORT_SYMBOL(cpu_2_node); /* set up a mapping between cpu and node. */ static inline void map_cpu_to_node(int cpu, int node) _