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:32:54 +01:00
2008-01-30 13:33:36 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:33:18 +01:00
2008-01-30 13:33:17 +01:00
2008-01-30 13:33:21 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:32:31 +01:00
2008-01-30 13:33:18 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:31:31 +01:00
2008-01-30 13:32:03 +01:00
2008-01-30 13:33:32 +01:00
2008-01-30 13:33:17 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:32:11 +01:00
2008-01-30 13:32:44 +01:00
2008-01-30 13:31:19 +01:00
2008-01-30 13:32:11 +01:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:32:08 +01:00
2008-01-30 13:33:11 +01:00
2008-01-30 13:33:35 +01:00
2008-01-30 13:33:17 +01:00
2008-01-30 13:33:28 +01:00
2008-01-30 13:33:06 +01:00
2008-01-30 13:33:31 +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:19 +01:00
2008-01-30 13:32:19 +01:00
2008-01-30 13:32:19 +01:00
2008-01-30 13:33:10 +01:00
2008-01-30 13:31:17 +01:00
2008-01-30 13:30:56 +01:00
2008-01-30 13:32:51 +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:30:47 +01:00
2008-01-30 13:33:18 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:33:20 +01:00
2008-01-30 13:32:10 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:33:20 +01:00
2008-01-30 13:33:07 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:32:54 +01:00
2008-01-30 13:33:36 +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:32 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:18 +01:00
2008-01-30 13:32:01 +01:00
2008-01-30 13:32:01 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:21 +01:00
2008-01-30 13:31:13 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:12 +01:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:30:56 +01:00
2008-01-30 13:31:07 +01:00
2008-01-30 13:30:56 +01:00
2008-01-30 13:33:35 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:33:25 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:20 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:31:42 +01:00
2008-01-30 13:32:58 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:32:50 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:32:39 +01:00
2008-01-30 13:31:10 +01:00