fiq debugger: fix bug debug uart interrupt might be masked in IRQ exception
authorhhb <hhb@rock-chips.com>
Sat, 19 Oct 2013 06:16:32 +0000 (14:16 +0800)
committerhhb <hhb@rock-chips.com>
Sat, 19 Oct 2013 06:16:32 +0000 (14:16 +0800)
kernel/irq/chip.c

index 990965ec5d0b3372bfbeb07624bebd7822312526..b1c616e81b8ef57733990c0226b41977983514fc 100644 (file)
@@ -409,7 +409,10 @@ handle_fasteoi_irq(unsigned int irq, struct irq_desc *desc)
         */
        if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) {
                desc->istate |= IRQS_PENDING;
-               mask_irq(desc);
+#ifdef CONFIG_FIQ_DEBUGGER
+               if(irq != (CONFIG_RK_DEBUG_UART + 66))
+#endif
+                       mask_irq(desc);
                goto out;
        }