diff options
author | Tejun Heo <tj@kernel.org> | 2011-01-31 15:59:05 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-01-31 17:22:25 (GMT) |
commit | eff9073790e1286aa12bf1c65814d3e0132b12e1 (patch) | |
tree | ce1ef3a0e73e143c519a2c72dca870a4743b2027 | |
parent | 4e62445b90ac4ef708bd11c7ae052b1d5ef765b5 (diff) | |
download | linux-eff9073790e1286aa12bf1c65814d3e0132b12e1.tar.xz |
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>
-rw-r--r-- | arch/x86/include/asm/numa_32.h | 2 |
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 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 */ |