Browse Source

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: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 18 years ago
parent
commit
8248daac6b
1 changed files with 0 additions and 6 deletions
  1. 0 6
      drivers/serial/sh-sci.c

+ 0 - 6
drivers/serial/sh-sci.c

@@ -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;