[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Disable watchdog in dump_registers



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1260777443 0
# Node ID 40a598cb0e91b5742a17f6b78faf13907f361ed0
# Parent  7162eff6d0854112d9b73528937bfb8a9af62c11
Disable watchdog in dump_registers

Avoids triggering watchdog if serial port output is slow.

Signed-off-by: Andrew Lyon <andrew.lyon@xxxxxxxxx>
---
 xen/common/keyhandler.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 7162eff6d085 -r 40a598cb0e91 xen/common/keyhandler.c
--- a/xen/common/keyhandler.c   Mon Dec 14 07:56:21 2009 +0000
+++ b/xen/common/keyhandler.c   Mon Dec 14 07:57:23 2009 +0000
@@ -87,6 +87,7 @@ static void dump_registers(unsigned char
     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 @@ static void dump_registers(unsigned char
     printk("\n");
 
     console_end_sync();
+    watchdog_enable();
 }
 
 static struct keyhandler dump_registers_keyhandler = {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.