aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/numa_32.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-01-31 10:59:05 -0500
committerIngo Molnar <mingo@elte.hu>2011-01-31 12:22:25 -0500
commiteff9073790e1286aa12bf1c65814d3e0132b12e1 (patch)
treece1ef3a0e73e143c519a2c72dca870a4743b2027 /arch/x86/include/asm/numa_32.h
parent4e62445b90ac4ef708bd11c7ae052b1d5ef765b5 (diff)
x86: Rename incorrectly named parameter of numa_cpu_node()
numa_cpu_node() prototype in numa_32.h has wrongly named parameter @apicid when it actually takes the CPU number. Change it to @cpu. Reported-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Tejun Heo <tj@kernel.org> LKML-Reference: <20110131155905.GM7459@htj.dyndns.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/numa_32.h')
-rw-r--r--arch/x86/include/asm/numa_32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/numa_32.h b/arch/x86/include/asm/numa_32.h
index bc66031afa1f..c6beed1ef103 100644
--- a/arch/x86/include/asm/numa_32.h
+++ b/arch/x86/include/asm/numa_32.h
@@ -6,7 +6,7 @@ extern int numa_off;
6extern int pxm_to_nid(int pxm); 6extern int pxm_to_nid(int pxm);
7 7
8#ifdef CONFIG_NUMA 8#ifdef CONFIG_NUMA
9extern int __cpuinit numa_cpu_node(int apicid); 9extern int __cpuinit numa_cpu_node(int cpu);
10#else /* CONFIG_NUMA */ 10#else /* CONFIG_NUMA */
11static inline int numa_cpu_node(int cpu) { return NUMA_NO_NODE; } 11static inline int numa_cpu_node(int cpu) { return NUMA_NO_NODE; }
12#endif /* CONFIG_NUMA */ 12#endif /* CONFIG_NUMA */