diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-31 06:20:10 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 03:13:11 -0400 |
commit | b1b57ee135ac7614184faa7d7345b5e7098cb81d (patch) | |
tree | 23ba9cb241baaf915b85ce29a2475b028e11d397 | |
parent | 431ee79db0a9552314d787446044973a8176b57d (diff) |
x86 build fix:
arch/x86/kernel/io_apic_64.c: In function 'check_timer':
arch/x86/kernel/io_apic_64.c:1688: error: 'vector' undeclared (first use in this function)
arch/x86/kernel/io_apic_64.c:1688: error: (Each undeclared identifier is reported only once
arch/x86/kernel/io_apic_64.c:1688: error: for each function it appears in.)
-rw-r--r-- | arch/x86/kernel/io_apic_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c index bb3033f037c3..8991567c76b7 100644 --- a/arch/x86/kernel/io_apic_64.c +++ b/arch/x86/kernel/io_apic_64.c | |||
@@ -1685,7 +1685,7 @@ static inline void __init check_timer(void) | |||
1685 | */ | 1685 | */ |
1686 | if (no_pin1) { | 1686 | if (no_pin1) { |
1687 | add_pin_to_irq(0, apic1, pin1); | 1687 | add_pin_to_irq(0, apic1, pin1); |
1688 | setup_timer_IRQ0_pin(apic1, pin1, vector); | 1688 | setup_timer_IRQ0_pin(apic1, pin1, cfg->vector); |
1689 | } | 1689 | } |
1690 | unmask_IO_APIC_irq(0); | 1690 | unmask_IO_APIC_irq(0); |
1691 | if (!no_timer_check && timer_irq_works()) { | 1691 | if (!no_timer_check && timer_irq_works()) { |