]> git.baikalelectronics.ru Git - kernel.git/commit
x86: mpparse.c: fix section mismatch warning
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 10 Aug 2008 22:09:38 +0000 (00:09 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 18 Aug 2008 05:49:26 +0000 (07:49 +0200)
commitc3b8d11b2eebd0197c1347e1add0295a6581fca2
tree580dfcc170293210f6eaa6955d3c92b6fd1b37be
parent971bf442a5187326c43061a0ce65bbb0ef01b310
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>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/mpparse.c