x86: uniq_ioapic_id - fix section mismatch warning
authorJacek Luczak <difrost.kernel@gmail.com>
Sat, 12 Apr 2008 15:39:57 +0000 (17:39 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 15:35:47 +0000 (17:35 +0200)
commit991074fd35e9e584d3cc28b4cba2e12743aeaa46
tree69bc8127ebd1dbc9524ae3e3a2ea2577049ecc9b
parent4c01f23bdbd34e7edeadbaa920c3018307a541d5
x86: uniq_ioapic_id - fix section mismatch warning

Fix folowing warning:
WARNING: arch/x86/kernel/built-in.o(.text+0x10799): Section mismatch in reference from the function uniq_ioapic_id()

uniq_ioapic_id() is only used by __init mp_register_ioapic(). Annotate uniq_ioapic_id() with __init.

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>
arch/x86/kernel/mpparse.c