* [PATCH] Disable watchdog in dump_registers
@ 2009-12-12 14:09 Andrew Lyon
0 siblings, 0 replies; only message in thread
From: Andrew Lyon @ 2009-12-12 14:09 UTC (permalink / raw
To: Xen-devel
Add watchdog_disable/watchdog_enable around dump_registers to avoid trigging
watchdog if serial port output is slow.
Patch generated for xen-unstable but it will also apply to 3.4.2.
Signed-off-by: Andrew Lyon <andrew.lyon@gmail.com>
diff -r b928797213ac -r 12039f5ece78 xen/common/keyhandler.c
--- a/xen/common/keyhandler.c Fri Dec 11 09:17:09 2009 +0000
+++ b/xen/common/keyhandler.c Sat Dec 12 14:03:17 2009 +0000
@@ -87,6 +87,7 @@
unsigned int cpu;
/* We want to get everything out that we possibly can. */
+ watchdog_disable();
console_start_sync();
printk("'%c' pressed -> dumping registers\n", key);
@@ -106,6 +107,7 @@
printk("\n");
console_end_sync();
+ watchdog_enable();
}
static struct keyhandler dump_registers_keyhandler = {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-12 14:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-12 14:09 [PATCH] Disable watchdog in dump_registers Andrew Lyon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.