x86 apic_32.c section fix
PATCH 1/1 x86 apic_32.c section fix
This patch fixes the following section mismatch with CONFIG_HOTPLUG=n, CONFIG_HOTPLUG_CPU=y:
<-- snip -->
...
WARNING: vmlinux.o(.text+0x2390d): Section mismatch: reference to .init.text.5:setup_local_APIC (between 'start_secondary' and 'check_tsc_warp')
...
<-- snip -->
Signed-off-by Adrian Bunk <[email protected]>
---ffa2f7f7e1cb68073b9ad597414dfd792ab5c697
arch/x86/kernel/apic_32.c +1 -1
@@ -849,7 +849,7 @@ void __init init_bsp_APIC(void)/** * setup_local_APIC - setup the local APIC */ -void __devinit setup_local_APIC (void ) +void __cpuinit setup_local_APIC (void ) {unsigned long oldvalue, value, maxlvt, integrated;int i, j;