diff options
author | Jacek Luczak <difrost.kernel@gmail.com> | 2008-04-12 11:41:12 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-26 11:35:47 -0400 |
commit | 28acf285deb193a1898bd531d778b0d1b1b75f2c (patch) | |
tree | eca78689295b6606b73559e21744e719323196d3 /arch/x86 | |
parent | 991074fd35e9e584d3cc28b4cba2e12743aeaa46 (diff) |
x86: unlock_ExtINT_logic() - fix section mismatch warnings
Fix following warning:
WARNING: arch/x86/kernel/built-in.o(.text+0x12cc9): Section mismatch in reference from the function unlock_ExtINT_logic()
unlock_ExtINT_logic() is only used by __init check_timer(). Annotate unlock_ExtINT_logic() witch __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')
-rw-r--r-- | arch/x86/kernel/io_apic_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c index 2e2f42074e18..696b8e4e66bb 100644 --- a/arch/x86/kernel/io_apic_32.c +++ b/arch/x86/kernel/io_apic_32.c | |||
@@ -2068,7 +2068,7 @@ static void __init setup_nmi(void) | |||
2068 | * cycles as some i82489DX-based boards have glue logic that keeps the | 2068 | * cycles as some i82489DX-based boards have glue logic that keeps the |
2069 | * 8259A interrupt line asserted until INTA. --macro | 2069 | * 8259A interrupt line asserted until INTA. --macro |
2070 | */ | 2070 | */ |
2071 | static inline void unlock_ExtINT_logic(void) | 2071 | static inline void __init unlock_ExtINT_logic(void) |
2072 | { | 2072 | { |
2073 | int apic, pin, i; | 2073 | int apic, pin, i; |
2074 | struct IO_APIC_route_entry entry0, entry1; | 2074 | struct IO_APIC_route_entry entry0, entry1; |