Skip to content

Commit

Permalink
serial: sh-sci: Kill off breakpoint in break IRQ.
Browse files Browse the repository at this point in the history
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: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt authored and Paul Mundt committed May 7, 2007
1 parent f607289 commit 8248daa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -738,12 +738,6 @@ static irqreturn_t sci_br_interrupt(int irq, void *ptr)

/* Handle BREAKs */
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));

return IRQ_HANDLED;
Expand Down

0 comments on commit 8248daa

Please sign in to comment.