summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_64.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-02-17 13:22:46 +0100
committerIngo Molnar <mingo@elte.hu>2008-02-19 16:18:29 +0100
commit08acb672624ece2d9234817570a0b3332cc8dae3 (patch)
tree3bb7fa23ad0550ce5f2a2d1cae1a2bffa0704d3d /arch/x86/kernel/setup_64.c
parenta062bae9c443a8c0ab17f231eb83690dfb897524 (diff)
downloadop-kernel-dev-08acb672624ece2d9234817570a0b3332cc8dae3.zip
op-kernel-dev-08acb672624ece2d9234817570a0b3332cc8dae3.tar.gz
x86: fix section mismatch warning in setup_64.c:nearby_node
nearby_node() were only used by __cpuinit amd_detect_cmp() So annotating nearby_node() __cpuinit was the trivial fix. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r--arch/x86/kernel/setup_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index c0d8208..ff9029d 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -518,7 +518,7 @@ static void __cpuinit display_cacheinfo(struct cpuinfo_x86 *c)
}
#ifdef CONFIG_NUMA
-static int nearby_node(int apicid)
+static int __cpuinit nearby_node(int apicid)
{
int i, node;
OpenPOWER on IntegriCloud