Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eff90737 authored by Tejun Heo's avatar Tejun Heo Committed by Ingo Molnar
Browse files

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: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
LKML-Reference: <20110131155905.GM7459@htj.dyndns.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 4e62445b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */