x86: Rename incorrectly named parameter of numa_cpu_node()
authorTejun Heo <tj@kernel.org>
Mon, 31 Jan 2011 15:59:05 +0000 (16:59 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 31 Jan 2011 17:22:25 +0000 (18:22 +0100)
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>
arch/x86/include/asm/numa_32.h

index bc66031afa1fd5e03b366fa759973de68a3ad6d5..c6beed1ef10373f9be333a01fa8648cb499a1836 100644 (file)
@@ -6,7 +6,7 @@ extern int numa_off;
 extern int pxm_to_nid(int pxm);
 
 #ifdef CONFIG_NUMA
-extern int __cpuinit numa_cpu_node(int apicid);
+extern int __cpuinit numa_cpu_node(int cpu);
 #else  /* CONFIG_NUMA */
 static inline int numa_cpu_node(int cpu)               { return NUMA_NO_NODE; }
 #endif /* CONFIG_NUMA */