|
@@ -50,10 +50,10 @@
|
|
|
for_each_online_node(node) \
|
|
for_each_online_node(node) \
|
|
|
if (nr_cpus_node(node))
|
|
if (nr_cpus_node(node))
|
|
|
|
|
|
|
|
-#ifndef node_distance
|
|
|
|
|
/* Conform to ACPI 2.0 SLIT distance definitions */
|
|
/* Conform to ACPI 2.0 SLIT distance definitions */
|
|
|
#define LOCAL_DISTANCE 10
|
|
#define LOCAL_DISTANCE 10
|
|
|
#define REMOTE_DISTANCE 20
|
|
#define REMOTE_DISTANCE 20
|
|
|
|
|
+#ifndef node_distance
|
|
|
#define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
|
|
#define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
|
|
|
#endif
|
|
#endif
|
|
|
#ifndef RECLAIM_DISTANCE
|
|
#ifndef RECLAIM_DISTANCE
|