search for: real_irq

Displaying 1 result from an estimated 1 matches for "real_irq".

Did you mean: real_dir
2012 Aug 29
0
[PATCH V2] x86/i8259: Handle bogus spurious interrupts more quietly
...two 8259s is important! Return a boolean + * indicating whether 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 w...