x86: fix section mismatch warning in setup_64.c:nearby_node
authorSam Ravnborg <sam@ravnborg.org>
Sun, 17 Feb 2008 12:22:46 +0000 (13:22 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Feb 2008 15:18:29 +0000 (16:18 +0100)
commit08acb672624ece2d9234817570a0b3332cc8dae3
tree3bb7fa23ad0550ce5f2a2d1cae1a2bffa0704d3d
parenta062bae9c443a8c0ab17f231eb83690dfb897524
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>
arch/x86/kernel/setup_64.c