Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8248daac authored by Paul Mundt's avatar Paul Mundt Committed by Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent f6072896
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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;