genirq: Move IRQ_REPLAY and IRQ_WAITING to core
No users outside of core. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -62,8 +62,11 @@ void check_irq_resend(struct irq_desc *desc, unsigned int irq)
|
||||
*/
|
||||
if (desc->status & IRQ_LEVEL)
|
||||
return;
|
||||
if ((desc->status & (IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) {
|
||||
desc->status = (desc->status & ~IRQ_PENDING) | IRQ_REPLAY;
|
||||
if (desc->istate & IRQS_REPLAY)
|
||||
return;
|
||||
if (desc->status & IRQ_PENDING) {
|
||||
desc->status &= ~IRQ_PENDING;
|
||||
desc->istate |= IRQS_REPLAY;
|
||||
|
||||
if (!desc->irq_data.chip->irq_retrigger ||
|
||||
!desc->irq_data.chip->irq_retrigger(&desc->irq_data)) {
|
||||
|
Reference in New Issue
Block a user