]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: fix section mismatch in setup_64.c:srat_detect_node
authorSam Ravnborg <sam@ravnborg.org>
Sun, 17 Feb 2008 12:22:47 +0000 (13:22 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Feb 2008 15:18:30 +0000 (16:18 +0100)
commit04d733bd3588fda8934591fdb0a3d719c5ec8fa0
tree584dd9b92b96aa8000b86fb7e28e0db0b3f446c6
parent08acb672624ece2d9234817570a0b3332cc8dae3
x86: fix section mismatch in setup_64.c:srat_detect_node

srat_detect_node() is only used by __cpuinit init_intel().
So the trivial fix is to annotate srat_detect_node() with __cpuinit.

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