LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH tip/x86/numa] x86: Rename incorrectly named parameter of numa_cpu_node()
@ 2011-01-31 15:59 Tejun Heo
  2011-01-31 17:24 ` [tip:x86/numa] " tip-bot for Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Tejun Heo @ 2011-01-31 15:59 UTC (permalink / raw)
  To: mingo, hpa, linux-kernel, x86; +Cc: yinghai

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@kernel.org>
Reported-by: Yinghai Lu <yinghai@kernel.org>
---
 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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip:x86/numa] x86: Rename incorrectly named parameter of numa_cpu_node()
  2011-01-31 15:59 [PATCH tip/x86/numa] x86: Rename incorrectly named parameter of numa_cpu_node() Tejun Heo
@ 2011-01-31 17:24 ` tip-bot for Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Tejun Heo @ 2011-01-31 17:24 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, yinghai, tj, tglx, mingo

Commit-ID:  eff9073790e1286aa12bf1c65814d3e0132b12e1
Gitweb:     http://git.kernel.org/tip/eff9073790e1286aa12bf1c65814d3e0132b12e1
Author:     Tejun Heo <tj@kernel.org>
AuthorDate: Mon, 31 Jan 2011 16:59:05 +0100
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Mon, 31 Jan 2011 18:22:25 +0100

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>
---
 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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-31 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-31 15:59 [PATCH tip/x86/numa] x86: Rename incorrectly named parameter of numa_cpu_node() Tejun Heo
2011-01-31 17:24 ` [tip:x86/numa] " tip-bot for Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).