bitkeeper revision 1.1159.223.60 (42015cebANp9qR68FaUpAYoMHdrfpQ)
authorcl349@arcadians.cl.cam.ac.uk <cl349@arcadians.cl.cam.ac.uk>
Wed, 2 Feb 2005 23:06:19 +0000 (23:06 +0000)
committercl349@arcadians.cl.cam.ac.uk <cl349@arcadians.cl.cam.ac.uk>
Wed, 2 Feb 2005 23:06:19 +0000 (23:06 +0000)
console.c:
  Disable watchdog before doing the 5 second delay before machine restart.

Signed-off-by: c@pin.lu
xen/drivers/char/console.c

index 75713575f457c8d770b36fb66aa577409821ed75..ba4c53f927ab3135b93eb762c49b604958670a55 100644 (file)
@@ -506,6 +506,7 @@ void panic(const char *fmt, ...)
     __putstr("Reboot in five seconds...\n");
     spin_unlock_irqrestore(&console_lock, flags);
 
+    watchdog_on = 0;
     mdelay(5000);
     machine_restart(0);
 }