x86: section mismatch fixes, #2
authorJacek Luczak <difrost.kernel@gmail.com>
Fri, 11 Apr 2008 11:28:49 +0000 (13:28 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 15:35:48 +0000 (17:35 +0200)
commitb6dbf334b0da14fafd4f747791a177ee4c7aae3b
treee3b52d8e1c072fd6f3151b24dd83c5ec60303a6f
parent6d4ce043268451b8016480461717f2aa59b5486c
x86: section mismatch fixes, #2

This patch fixes section mismatch warnings in smpboot_setup_io_apic().

WARNING: arch/x86/kernel/built-in.o(.text+0x11781): Section mismatch in reference from the function smpboot_setup_io_apic()
to the function .init.text:setup_IO_APIC()
The function smpboot_setup_io_apic() references
the function __init setup_IO_APIC().
This is often because smpboot_setup_io_apic lacks a __init
annotation or the annotation of setup_IO_APIC is wrong.

Signed-off-by: Jacek Luczak <luczak.jacek@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/mach-default/smpboot_hooks.h