mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Disable watchdog in dump_registers
Avoids triggering watchdog if serial port output is slow. Signed-off-by: Andrew Lyon <andrew.lyon@gmail.com>
This commit is contained in:
1 parent
bbe624405f
commit
beba190a01
1 file changed
+2
@@ -87,6 +87,7 @@ static void dump_registers(unsigned char key, struct cpu_user_regs *regs)
|
||||
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 key, struct cpu_user_regs *regs)
|
||||
printk("\n");
|
||||
|
||||
console_end_sync();
|
||||
watchdog_enable();
|
||||
}
|
||||
|
||||
static struct keyhandler dump_registers_keyhandler = {
|
||||
|
||||