fiq debugger: change 66 to IRQ_UART0

This commit is contained in:
hhb
2013-10-19 16:32:02 +08:00
parent d9266a7307
commit 5cc24fbb15

View File

@@ -18,6 +18,10 @@
#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;