ia64/xen-unstable

changeset 3625:6d07967a51b3

bitkeeper revision 1.1159.223.60 (42015cebANp9qR68FaUpAYoMHdrfpQ)

console.c:
Disable watchdog before doing the 5 second delay before machine restart.

Signed-off-by: c@pin.lu
author cl349@arcadians.cl.cam.ac.uk
date Wed Feb 02 23:06:19 2005 +0000 (2005-02-02)
parents 351e129e3735
children 30412c1eb41d
files xen/drivers/char/console.c
line diff
     1.1 --- a/xen/drivers/char/console.c	Wed Feb 02 22:40:20 2005 +0000
     1.2 +++ b/xen/drivers/char/console.c	Wed Feb 02 23:06:19 2005 +0000
     1.3 @@ -506,6 +506,7 @@ void panic(const char *fmt, ...)
     1.4      __putstr("Reboot in five seconds...\n");
     1.5      spin_unlock_irqrestore(&console_lock, flags);
     1.6  
     1.7 +    watchdog_on = 0;
     1.8      mdelay(5000);
     1.9      machine_restart(0);
    1.10  }