]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/topology.h
[PATCH] sched: small topology.h cleanup
[linux-2.6-omap-h63xx.git] / include / linux / topology.h
index da6c39b2d051c30c7ec14df2b8f3b27115569ddc..d0890a7e5babb1f96b78a04fa6f471df0edbdd8e 100644 (file)
        for_each_online_node(node)                                              \
                if (nr_cpus_node(node))
 
-#ifndef node_distance
 /* Conform to ACPI 2.0 SLIT distance definitions */
 #define LOCAL_DISTANCE         10
 #define REMOTE_DISTANCE                20
+#ifndef node_distance
 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
 #endif
 #ifndef RECLAIM_DISTANCE