]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86 build fix:
authorIngo Molnar <mingo@elte.hu>
Sat, 31 May 2008 10:20:10 +0000 (12:20 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 07:13:11 +0000 (09:13 +0200)
  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.)

arch/x86/kernel/io_apic_64.c

index bb3033f037c32d7a4f34fbf6882481dbe5ffd36e..8991567c76b73568d8ed90ee2d5e620deac914b7 100644 (file)
@@ -1685,7 +1685,7 @@ static inline void __init check_timer(void)
                 */
                if (no_pin1) {
                        add_pin_to_irq(0, apic1, pin1);
-                       setup_timer_IRQ0_pin(apic1, pin1, vector);
+                       setup_timer_IRQ0_pin(apic1, pin1, cfg->vector);
                }
                unmask_IO_APIC_irq(0);
                if (!no_timer_check && timer_irq_works()) {