LKML Archive on
help / color / mirror / Atom feed
From: Tejun Heo <>
Subject: [PATCH tip/x86/numa] x86: Rename incorrectly named parameter of numa_cpu_node()
Date: Mon, 31 Jan 2011 16:59:05 +0100	[thread overview]
Message-ID: <> (raw)

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 <>
Reported-by: Yinghai Lu <>
 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);
-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 */

             reply	other threads:[~2011-01-31 15:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31 15:59 Tejun Heo [this message]
2011-01-31 17:24 ` [tip:x86/numa] " tip-bot for Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \
    --subject='Re: [PATCH tip/x86/numa] x86: Rename incorrectly named parameter of numa_cpu_node()' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).