diff options
author | Tejun Heo <tj@kernel.org> | 2011-01-31 10:59:05 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-01-31 12:22:25 -0500 |
commit | eff9073790e1286aa12bf1c65814d3e0132b12e1 (patch) | |
tree | ce1ef3a0e73e143c519a2c72dca870a4743b2027 /arch/x86/include/asm/numa_32.h | |
parent | 4e62445b90ac4ef708bd11c7ae052b1d5ef765b5 (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.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 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; | |||
6 | extern int pxm_to_nid(int pxm); | 6 | extern int pxm_to_nid(int pxm); |
7 | 7 | ||
8 | #ifdef CONFIG_NUMA | 8 | #ifdef CONFIG_NUMA |
9 | extern int __cpuinit numa_cpu_node(int apicid); | 9 | extern int __cpuinit numa_cpu_node(int cpu); |
10 | #else /* CONFIG_NUMA */ | 10 | #else /* CONFIG_NUMA */ |
11 | static inline int numa_cpu_node(int cpu) { return NUMA_NO_NODE; } | 11 | static inline int numa_cpu_node(int cpu) { return NUMA_NO_NODE; } |
12 | #endif /* CONFIG_NUMA */ | 12 | #endif /* CONFIG_NUMA */ |