summaryrefslogtreecommitdiffstats
path: root/drivers/serial/sh-sci.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-03-14 06:23:22 +0100
committerPaul Mundt <lethal@hera.kernel.org>2007-05-07 04:10:53 +0200
commit8248daac6b9cde7748a659dcabea6584d62a9fd8 (patch)
tree8c5e0b1a7dc41142a25cdb314313ae73ff9d60b5 /drivers/serial/sh-sci.c
parentsh: heartbeat double 0 fix. (diff)
downloadlinux-8248daac6b9cde7748a659dcabea6584d62a9fd8.tar.xz
linux-8248daac6b9cde7748a659dcabea6584d62a9fd8.zip
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>
Diffstat (limited to 'drivers/serial/sh-sci.c')
-rw-r--r--drivers/serial/sh-sci.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c
index 94deebda6da0..8f387219287f 100644
--- a/drivers/serial/sh-sci.c
+++ b/drivers/serial/sh-sci.c
@@ -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;