projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f607289
)
serial: sh-sci: Kill off breakpoint in break IRQ.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 14 Mar 2007 05:23:22 +0000
(14:23 +0900)
committer
Paul Mundt
<lethal@hera.kernel.org>
Mon, 7 May 2007 02:10:53 +0000
(
02:10
+0000)
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>
drivers/serial/sh-sci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/sh-sci.c
b/drivers/serial/sh-sci.c
index 94deebda6da0e61a15fe51d2bcb18d40ffc0501a..8f387219287fa6992a3b3d666e13d020f455ea3a 100644
(file)
--- 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;