diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 13:30:38 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:30:38 +0100 |
commit | fe21a445b98c9d52f02f3412d7a2fd39784f3b22 (patch) | |
tree | 501d6bfe7997d2329cd0687b9295bebc6a866122 /include | |
parent | 7462894a7cb03b54b9139f31fab5928366752a78 (diff) |
x86: adjust numa 32 namespace
Use the 64bit numa variable names for numa32 as well.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/topology_32.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-x86/topology_32.h b/include/asm-x86/topology_32.h index fdca80a851e..e28dbdcc567 100644 --- a/include/asm-x86/topology_32.h +++ b/include/asm-x86/topology_32.h @@ -39,13 +39,13 @@ #include <linux/cpumask.h> /* Mappings between logical cpu number and node number */ -extern cpumask_t node_2_cpu_mask[]; -extern int cpu_2_node[]; +extern cpumask_t node_to_cpumask_map[]; +extern int cpu_to_node_map[]; /* Returns the number of the node containing CPU 'cpu' */ static inline int cpu_to_node(int cpu) { - return cpu_2_node[cpu]; + return cpu_to_node_map[cpu]; } /* Returns the number of the node containing Node 'node'. This architecture is flat, @@ -55,7 +55,7 @@ static inline int cpu_to_node(int cpu) /* Returns a bitmask of CPUs on Node 'node'. */ static inline cpumask_t node_to_cpumask(int node) { - return node_2_cpu_mask[node]; + return node_to_cpumask_map[node]; } /* Returns the number of the first CPU on Node 'node'. */ |