[PATCH tip/x86/numa] x86: Rename incorrectly named parameter ofnuma_cpu_node()

From: Tejun Heo
Date: Mon Jan 31 2011 - 10:59:14 EST


numa_cpu_node() prototype in numa_32.h has wrongly named parameter
@apicid when it actually takes the CPU number. Change it to @cpu.

Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
Reported-by: Yinghai Lu <yinghai@xxxxxxxxxx>
---
arch/x86/include/asm/numa_32.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/numa_32.h b/arch/x86/include/asm/numa_32.h
index bc66031..c6beed1 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;
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 */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/