mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
fiq_debugger: fix bug when RT linux is enabled
Set debugger irq to IRQF_NO_THREAD, or irq handler calls get_irq_regs(), and return null. Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com> Change-Id: Ic61d2bb2d233e74a2028405b80075eefabd0a9a1
This commit is contained in:
@@ -1566,7 +1566,7 @@ static int fiq_debugger_probe(struct platform_device *pdev)
|
||||
pr_err("%s: could not install nmi irq handler\n", __func__);
|
||||
irq_clear_status_flags(state->uart_irq, IRQ_NOAUTOEN);
|
||||
ret = request_irq(state->uart_irq, fiq_debugger_uart_irq,
|
||||
IRQF_NO_SUSPEND | IRQF_NOBALANCING, "debug", state);
|
||||
IRQF_NO_SUSPEND | IRQF_NOBALANCING | IRQF_NO_THREAD, "debug", state);
|
||||
} else {
|
||||
enable_nmi(state->uart_irq);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user