From: Paul Mundt Date: Wed, 14 Mar 2007 05:23:22 +0000 (+0900) Subject: serial: sh-sci: Kill off breakpoint in break IRQ. X-Git-Tag: v2.6.22-rc1~825^2~29 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8248daac6b9cde7748a659dcabea6584d62a9fd8;p=linux-2.6 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 --- diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c index 94deebda6d..8f38721928 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;