diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-03-14 01:23:22 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-05-06 22:10:53 -0400 |
commit | 8248daac6b9cde7748a659dcabea6584d62a9fd8 (patch) | |
tree | 8c5e0b1a7dc41142a25cdb314313ae73ff9d60b5 /drivers/serial | |
parent | f6072896e3f4c577db7e3a06105ebdfd52d7e7c9 (diff) |
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')
-rw-r--r-- | drivers/serial/sh-sci.c | 6 |
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) | |||
738 | 738 | ||
739 | /* Handle BREAKs */ | 739 | /* Handle BREAKs */ |
740 | sci_handle_breaks(port); | 740 | sci_handle_breaks(port); |
741 | |||
742 | #ifdef CONFIG_SH_KGDB | ||
743 | /* Break into the debugger if a break is detected */ | ||
744 | breakpoint(); | ||
745 | #endif | ||
746 | |||
747 | sci_out(port, SCxSR, SCxSR_BREAK_CLEAR(port)); | 741 | sci_out(port, SCxSR, SCxSR_BREAK_CLEAR(port)); |
748 | 742 | ||
749 | return IRQ_HANDLED; | 743 | return IRQ_HANDLED; |