diff options
author | Anton Blanchard <anton@samba.org> | 2010-04-26 15:32:43 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-05-06 17:41:58 +1000 |
commit | 25863de07af9cb90e6365cc8216bdd17f2394515 (patch) | |
tree | ac765e8b06006efea240ce287d587103341bf380 /arch/powerpc/include/asm/topology.h | |
parent | 8729faaa5e87557876c02f1665d517e2b41299f1 (diff) | |
download | blackbird-op-linux-25863de07af9cb90e6365cc8216bdd17f2394515.tar.gz blackbird-op-linux-25863de07af9cb90e6365cc8216bdd17f2394515.zip |
powerpc/cpumask: Convert NUMA code to new cpumask API
Convert NUMA code to new cpumask API. We shift the node to cpumask
setup code until after we complete bootmem allocation so we can
dynamically allocate the cpumasks.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/topology.h')
-rw-r--r-- | arch/powerpc/include/asm/topology.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h index 789599b69960..84ad11f65dc2 100644 --- a/arch/powerpc/include/asm/topology.h +++ b/arch/powerpc/include/asm/topology.h @@ -29,7 +29,7 @@ static inline int cpu_to_node(int cpu) #define cpumask_of_node(node) ((node) == -1 ? \ cpu_all_mask : \ - &numa_cpumask_lookup_table[node]) + node_to_cpumask_map[node]) int of_node_to_nid(struct device_node *device); |