Displaying 1 result from an estimated 1 matches for "need_eoi".
Did you mean:
need_doc
2012 Aug 29
0
[PATCH V2] x86/i8259: Handle bogus spurious interrupts more quietly
...ther the irq was genuine or spurious.
*/
-static void _mask_and_ack_8259A_irq(unsigned int irq)
+static bool_t _mask_and_ack_8259A_irq(unsigned int irq)
{
unsigned int irqmask = 1 << irq;
unsigned long flags;
+ bool_t real_irq = 1; /* Assume real unless spurious */
+ bool_t need_eoi = i8259A_irq_type.ack != disable_8259A_irq;
spin_lock_irqsave(&i8259A_lock, flags);
/*
@@ -270,15 +275,19 @@ static void _mask_and_ack_8259A_irq(unsi
if (irq & 8) {
inb(0xA1); /* DUMMY - (do we need this?) */
outb(cached_A1,0xA1);
- out...