aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/topology.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-07-11 15:21:47 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-13 13:11:52 -0400
commitf787a50306680c187cf2896a8017937c1bf6dc7e (patch)
tree1dbc2b37c53759bde6e227e6502ad5555388f305 /include/linux/topology.h
parent4bd77321a833077c5c9ac7b9d284e261e4a8906e (diff)
[PATCH] sched: small topology.h cleanup
trivial cleanup: LOCAL_DISTANCE and REMOTE_DISTANCE are only used in topology.h and inside an #ifndef section - limit their existence to that #ifndef. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/topology.h')
-rw-r--r--include/linux/topology.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/topology.h b/include/linux/topology.h
index da6c39b2d051..d0890a7e5bab 100644
--- a/include/linux/topology.h
+++ b/include/linux/topology.h
@@ -50,10 +50,10 @@
50 for_each_online_node(node) \ 50 for_each_online_node(node) \
51 if (nr_cpus_node(node)) 51 if (nr_cpus_node(node))
52 52
53#ifndef node_distance
54/* Conform to ACPI 2.0 SLIT distance definitions */ 53/* Conform to ACPI 2.0 SLIT distance definitions */
55#define LOCAL_DISTANCE 10 54#define LOCAL_DISTANCE 10
56#define REMOTE_DISTANCE 20 55#define REMOTE_DISTANCE 20
56#ifndef node_distance
57#define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE) 57#define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
58#endif 58#endif
59#ifndef RECLAIM_DISTANCE 59#ifndef RECLAIM_DISTANCE