aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/topology.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-21 04:14:17 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-21 04:14:17 -0500
commit3eb3963fd1974c63e9bb3cfe774abc3e1995e479 (patch)
treec00d6c2e8484793ab6bd0644db59bbdf5e9429c5 /arch/x86/include/asm/topology.h
parentae2b56b92bd33b416528986528e0732c98c7a285 (diff)
parent5766b842b23c6b40935a5f3bd435b2bcdaff2143 (diff)
Merge branch 'cpus4096' into core/percpu
Conflicts: arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c arch/x86/kernel/tlb_32.c Merge it here because both the cpumask changes and the ongoing percpu work is touching the TLB code. The percpu changes take precedence, as they eliminate tlb_32.c altogether. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/topology.h')
-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 ffea1fe03a99..10022ed3a4b6 100644
--- a/arch/x86/include/asm/topology.h
+++ b/arch/x86/include/asm/topology.h
@@ -190,9 +190,20 @@ extern int __node_distance(int, int);
190 190
191#else /* !CONFIG_NUMA */ 191#else /* !CONFIG_NUMA */
192 192
193#define numa_node_id() 0 193static inline int numa_node_id(void)
194#define cpu_to_node(cpu) 0 194{
195#define early_cpu_to_node(cpu) 0 195 return 0;
196}
197
198static inline int cpu_to_node(int cpu)
199{
200 return 0;
201}
202
203static inline int early_cpu_to_node(int cpu)
204{
205 return 0;
206}
196 207
197static inline const cpumask_t *cpumask_of_node(int node) 208static inline const cpumask_t *cpumask_of_node(int node)
198{ 209{