diff options
author | Jacek Luczak <difrost.kernel@gmail.com> | 2008-04-12 11:39:57 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-26 11:35:47 -0400 |
commit | 991074fd35e9e584d3cc28b4cba2e12743aeaa46 (patch) | |
tree | 69bc8127ebd1dbc9524ae3e3a2ea2577049ecc9b /arch/x86/kernel/mpparse.c | |
parent | 4c01f23bdbd34e7edeadbaa920c3018307a541d5 (diff) |
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>
Diffstat (limited to 'arch/x86/kernel/mpparse.c')
-rw-r--r-- | arch/x86/kernel/mpparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index 23e8432a982..3e2c54dc8b2 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
@@ -817,7 +817,7 @@ static int mp_find_ioapic(int gsi) | |||
817 | return -1; | 817 | return -1; |
818 | } | 818 | } |
819 | 819 | ||
820 | static u8 uniq_ioapic_id(u8 id) | 820 | static u8 __init uniq_ioapic_id(u8 id) |
821 | { | 821 | { |
822 | #ifdef CONFIG_X86_32 | 822 | #ifdef CONFIG_X86_32 |
823 | if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && | 823 | if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && |