From 9850ebb756b8d5922a1d37e86ddff039cda16531 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Fri, 28 Dec 2012 20:11:17 +0800 Subject: [PATCH] rk: fiq_debugger: no call uart flush when fiq, which may block fiq handler long time on SMP --- arch/arm/plat-rk/rk_fiq_debugger.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/plat-rk/rk_fiq_debugger.c b/arch/arm/plat-rk/rk_fiq_debugger.c index 20eb1a8f8696..910fa9a534bf 100644 --- a/arch/arm/plat-rk/rk_fiq_debugger.c +++ b/arch/arm/plat-rk/rk_fiq_debugger.c @@ -219,7 +219,9 @@ void rk_serial_debug_init(void __iomem *base, int irq, int signal_irq, int wakeu t->pdata.uart_init = debug_port_init; t->pdata.uart_getc = debug_getc; t->pdata.uart_putc = debug_putc; +#ifndef CONFIG_RK_CONSOLE_THREAD t->pdata.uart_flush = debug_flush; +#endif t->pdata.fiq_enable = fiq_enable; t->pdata.force_irq = force_irq; t->debug_port_base = base; -- 2.34.1