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:
0ad775d
)
[PATCH] serial console: touch NMI watchdog
author
Andrew Morton
<akpm@osdl.org>
Mon, 7 Nov 2005 08:59:13 +0000
(
00:59
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:35 +0000
(07:53 -0800)
Large console spews from IRQ or local_irq_disable() sections can cause the NMI
watchdog to go off.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/serial/8250.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/8250.c
b/drivers/serial/8250.c
index 186e96c47b3da09cfe06a66b17d545a6facc9ae9..98820603e75fd2a4a7b27206817744d60c10f833 100644
(file)
--- a/
drivers/serial/8250.c
+++ b/
drivers/serial/8250.c
@@
-40,6
+40,7
@@
#include <linux/serial_core.h>
#include <linux/serial.h>
#include <linux/serial_8250.h>
+#include <linux/nmi.h>
#include <asm/io.h>
#include <asm/irq.h>
@@
-2208,6
+2209,8
@@
serial8250_console_write(struct console *co, const char *s, unsigned int count)
unsigned int ier;
int i;
+ touch_nmi_watchdog();
+
/*
* First save the UER then disable the interrupts
*/