diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2006-01-03 11:00:06 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-03 11:00:06 -0500 |
commit | 61420e147a706ee7c7a902008045547fb2a2a330 (patch) | |
tree | c5739fe1feac05cac49c96107138520c65f8f657 /include/asm-x86_64/topology.h | |
parent | 3d0a59c02303df01848537b3bf938dc11e9a0ded (diff) | |
parent | a18ceba7b40e24a9da87249bd74f16ea5abd6894 (diff) |
Merge branch 'upstream'
Diffstat (limited to 'include/asm-x86_64/topology.h')
-rw-r--r-- | include/asm-x86_64/topology.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86_64/topology.h b/include/asm-x86_64/topology.h index d39ebd5263e..7d82bc56b9f 100644 --- a/include/asm-x86_64/topology.h +++ b/include/asm-x86_64/topology.h @@ -23,7 +23,7 @@ extern int __node_distance(int, int); #define cpu_to_node(cpu) (cpu_to_node[cpu]) #define parent_node(node) (node) -#define node_to_first_cpu(node) (__ffs(node_to_cpumask[node])) +#define node_to_first_cpu(node) (first_cpu(node_to_cpumask[node])) #define node_to_cpumask(node) (node_to_cpumask[node]) #define pcibus_to_node(bus) ((long)(bus->sysdata)) #define pcibus_to_cpumask(bus) node_to_cpumask(pcibus_to_node(bus)); |