aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-15 12:37:07 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-15 12:37:07 -0500
commitc847a9c7139cd500eb1355367c43aba6aef62a71 (patch)
tree9e0c7803c202c43e4587ab3848994edb2620d1fa
parent5cd7376200be7b8bab085557ff5876b04bd84191 (diff)
parentf2a082711905312dc7b6675e913fee0c4689f7ae (diff)
Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/travis/linux-2.6-cpus4096-for-ingo into cpus4096
-rw-r--r--arch/x86/include/asm/topology.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h
index 4e2f2e0aab27..d0c68e291635 100644
--- a/arch/x86/include/asm/topology.h
+++ b/arch/x86/include/asm/topology.h
@@ -192,9 +192,20 @@ extern int __node_distance(int, int);
192 192
193#else /* !CONFIG_NUMA */ 193#else /* !CONFIG_NUMA */
194 194
195#define numa_node_id() 0 195static inline int numa_node_id(void)
196#define cpu_to_node(cpu) 0 196{
197#define early_cpu_to_node(cpu) 0 197 return 0;
198}
199
200static inline int cpu_to_node(int cpu)
201{
202 return 0;
203}
204
205static inline int early_cpu_to_node(int cpu)
206{
207 return 0;
208}
198 209
199static inline const cpumask_t *cpumask_of_node(int node) 210static inline const cpumask_t *cpumask_of_node(int node)
200{ 211{