Merge branches 'core-locking-for-linus' and 'timers-urgent-for-linus' of git://git...
[cascardo/linux.git] / arch / ia64 / include / asm / numa.h
index 6a8a27c..2e27ef1 100644 (file)
@@ -59,7 +59,7 @@ extern struct node_cpuid_s node_cpuid[NR_CPUS];
  */
 
 extern u8 numa_slit[MAX_NUMNODES * MAX_NUMNODES];
-#define node_distance(from,to) (numa_slit[(from) * num_online_nodes() + (to)])
+#define node_distance(from,to) (numa_slit[(from) * MAX_NUMNODES + (to)])
 
 extern int paddr_to_nid(unsigned long paddr);