Sam Ravnborg 3eaf5efae7 x86: fix section mismatch warning in topology.c
Fix following warning:
WARNING: arch/x86/kernel/built-in.o(__ksymtab+0x2b0): Section mismatch: reference to .cpuinit.text:arch_register_cpu in '__ksymtab_arch_register_cpu'

Annotating exported symbols are wrong.
Previously the warning were hidden by avoiding the export
in the non HOTPLUG_CPU case but the improved checks in
modpost caught it anyway.
Fix it by removing the __cpuinit annotation and rearrange the
code a bit to save one ifdef/endif pair.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:33:37 +01:00
..
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:31:31 +01:00
2008-01-30 13:33:32 +01:00
2008-01-30 13:32:44 +01:00
2008-01-30 13:31:19 +01:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:31:55 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:33:10 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:33:25 +01:00
2008-01-30 13:32:40 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:31:42 +01:00
2008-01-30 13:32:39 +01:00
2008-01-30 13:31:10 +01:00