Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] cpumask: export node_to_cpu_mask consistently

cpumask: ensure that node_to_cpumask() is available to modules for all
supported combinations of architecture and CONFIG_NUMA.

Signed-off-by: Greg Banks <gnb@melbourne.sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Greg Banks and committed by
Linus Torvalds
a406c366 e16b38f7

+2
+1
arch/i386/kernel/smpboot.c
··· 612 612 /* which logical CPUs are on which nodes */ 613 613 cpumask_t node_2_cpu_mask[MAX_NUMNODES] __read_mostly = 614 614 { [0 ... MAX_NUMNODES-1] = CPU_MASK_NONE }; 615 + EXPORT_SYMBOL(node_2_cpu_mask); 615 616 /* which node each logical CPU is on */ 616 617 int cpu_2_node[NR_CPUS] __read_mostly = { [0 ... NR_CPUS-1] = 0 }; 617 618 EXPORT_SYMBOL(cpu_2_node);
+1
arch/ia64/kernel/numa.c
··· 28 28 EXPORT_SYMBOL(cpu_to_node_map); 29 29 30 30 cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned; 31 + EXPORT_SYMBOL(node_to_cpu_mask); 31 32 32 33 void __cpuinit map_cpu_to_node(int cpu, int nid) 33 34 {