diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-02-17 12:22:46 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-19 15:18:29 (GMT) |
commit | 08acb672624ece2d9234817570a0b3332cc8dae3 (patch) | |
tree | 3bb7fa23ad0550ce5f2a2d1cae1a2bffa0704d3d /arch | |
parent | a062bae9c443a8c0ab17f231eb83690dfb897524 (diff) | |
download | linux-08acb672624ece2d9234817570a0b3332cc8dae3.tar.xz |
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')
-rw-r--r-- | arch/x86/kernel/setup_64.c | 2 |
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; |