|
@@ -1777,6 +1777,8 @@ static inline void unlock_ExtINT_logic(void)
|
|
|
spin_unlock_irqrestore(&ioapic_lock, flags);
|
|
|
}
|
|
|
|
|
|
+int timer_uses_ioapic_pin_0;
|
|
|
+
|
|
|
/*
|
|
|
* This code may look a bit paranoid, but it's supposed to cooperate with
|
|
|
* a wide range of boards and BIOS bugs. Fortunately only the timer IRQ
|
|
@@ -1814,6 +1816,9 @@ static inline void check_timer(void)
|
|
|
pin2 = ioapic_i8259.pin;
|
|
|
apic2 = ioapic_i8259.apic;
|
|
|
|
|
|
+ if (pin1 == 0)
|
|
|
+ timer_uses_ioapic_pin_0 = 1;
|
|
|
+
|
|
|
apic_printk(APIC_VERBOSE,KERN_INFO "..TIMER: vector=0x%02X apic1=%d pin1=%d apic2=%d pin2=%d\n",
|
|
|
vector, apic1, pin1, apic2, pin2);
|
|
|
|