x86_32: select_idle_routine() must be __cpuinit

CONFIG_HOTPLUG_CPU=y:

WARNING: vmlinux.o(.text+0x1199a): Section mismatch: reference to .init.text.5:select_idle_routine (between 'init_intel' and 'init_nexgen')

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by Adrian Bunk and committed by Ingo Molnar 3446fa05 f2206ec9

+1 -1
+1 -1
arch/x86/kernel/process_32.c
··· 261 mwait_idle_with_hints(0, 0); 262 } 263 264 - void __devinit select_idle_routine(const struct cpuinfo_x86 *c) 265 { 266 if (cpu_has(c, X86_FEATURE_MWAIT)) { 267 printk("monitor/mwait feature present.\n");
··· 261 mwait_idle_with_hints(0, 0); 262 } 263 264 + void __cpuinit select_idle_routine(const struct cpuinfo_x86 *c) 265 { 266 if (cpu_has(c, X86_FEATURE_MWAIT)) { 267 printk("monitor/mwait feature present.\n");