fiq debugger: change 66 to IRQ_UART0
authorhhb <hhb@rock-chips.com>
Sat, 19 Oct 2013 08:32:02 +0000 (16:32 +0800)
committerhhb <hhb@rock-chips.com>
Sat, 19 Oct 2013 08:32:02 +0000 (16:32 +0800)
kernel/irq/chip.c

index b1c616e81b8ef57733990c0226b41977983514fc..923aeca01fa72ce623a7d8fbd408076fbd6fae9d 100644 (file)
 
 #include "internals.h"
 
+#ifdef CONFIG_FIQ_DEBUGGER
+#include <mach/irqs.h>
+#endif
+
 /**
  *     irq_set_chip - set the irq chip for an irq
  *     @irq:   irq number
@@ -410,7 +414,7 @@ handle_fasteoi_irq(unsigned int irq, struct irq_desc *desc)
        if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) {
                desc->istate |= IRQS_PENDING;
 #ifdef CONFIG_FIQ_DEBUGGER
-               if(irq != (CONFIG_RK_DEBUG_UART + 66))
+               if(irq != (CONFIG_RK_DEBUG_UART + IRQ_UART0))
 #endif
                        mask_irq(desc);
                goto out;