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

arch_register_cpu() is only defined for HOTPLUG_CPU code
so simple fix is to ignore references by annotating the
function __ref.

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/topology.c