]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ia64/sn/kernel/sn2/sn_hwperf.c
[IA64] Cleanup use of various #defines related to nodes
[linux-2.6-omap-h63xx.git] / arch / ia64 / sn / kernel / sn2 / sn_hwperf.c
index 0513aacac8c13898a8e7edf57cfe9530b13e553d..6c6fbca3229c9625964c1801c8ba480d7ab5c492 100644 (file)
@@ -476,8 +476,8 @@ static int sn_topology_show(struct seq_file *s, void *d)
                                for_each_online_cpu(j) {
                                        seq_printf(s, j ? ":%d" : ", dist %d",
                                                node_distance(
-                                                   cpuid_to_cnodeid(i),
-                                                   cpuid_to_cnodeid(j)));
+                                                   cpu_to_node(i),
+                                                   cpu_to_node(j)));
                                }
                                seq_putc(s, '\n');
                        }