x86: mpparse.c: fix section mismatch warning
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 10 Aug 2008 22:09:38 +0000 (00:09 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 11 Aug 2008 04:13:09 +0000 (21:13 -0700)
commitd406d21d90dce2e66c7eb4a44605aac947fe55fb
tree0e756462334f77e09da60e827785946553fd54b6
parentbafc1dae8215c862c2e6ae913ddadc20581e59b9
x86: mpparse.c: fix section mismatch warning

WARNING: vmlinux.o(.text+0x118f7): Section mismatch in reference from the function construct_ioapic_table() to the function .init.text:MP_bus_info()
The function construct_ioapic_table() references
the function __init MP_bus_info().
This is often because construct_ioapic_table lacks a __init
annotation or the annotation of MP_bus_info is wrong.

construct_ioapic_table is called only from construct_default_ISA_mptable which is __init

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/mpparse.c