提交 8248daac 编写于 作者: P Paul Mundt 提交者: Paul Mundt

serial: sh-sci: Kill off breakpoint in break IRQ.

With the GDB stub being entered via a special sysrq trigger,
we don't want to hit it directly from sci_br_interrupt().
Without this, there is access to the other sysrq triggers when
kgdb is enabled.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 f6072896
...@@ -738,12 +738,6 @@ static irqreturn_t sci_br_interrupt(int irq, void *ptr) ...@@ -738,12 +738,6 @@ static irqreturn_t sci_br_interrupt(int irq, void *ptr)
/* Handle BREAKs */ /* Handle BREAKs */
sci_handle_breaks(port); sci_handle_breaks(port);
#ifdef CONFIG_SH_KGDB
/* Break into the debugger if a break is detected */
breakpoint();
#endif
sci_out(port, SCxSR, SCxSR_BREAK_CLEAR(port)); sci_out(port, SCxSR, SCxSR_BREAK_CLEAR(port));
return IRQ_HANDLED; return IRQ_HANDLED;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部