kernel/arch/ia64/include/asm/numa.h
.. .. @@ -59,7 +59,9 @@ 59 59 */ 60 60 61 61 extern u8 numa_slit[MAX_NUMNODES * MAX_NUMNODES]; 62 -#define node_distance(from,to) (numa_slit[(from) * MAX_NUMNODES + (to)])62 +#define slit_distance(from,to) (numa_slit[(from) * MAX_NUMNODES + (to)])63 +extern int __node_distance(int from, int to);64 +#define node_distance(from,to) __node_distance(from, to)63 65 64 66 extern int paddr_to_nid(unsigned long paddr); 65 67