bitkeeper revision 1.1217 (421485a7z8JARjjC9F7b0rTr-A1WOw)

Ensure watchdog disabled during fatal-error handling.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@scramble.cl.cam.ac.uk committed 2005-02-17 11:53:11 +00:00
1 parent adf8ac61ad
commit 4a312423c1
3 files changed
+3 -1

No files matched your search

+2
View File
@@ -108,6 +108,8 @@ asmlinkage void fatal_trap(int trapnr, struct xen_regs *regs)
"machine check", "simd error"
};
watchdog_on = 0;
show_registers(regs);
if ( trapnr == TRAP_page_fault )
+1
View File
@@ -598,6 +598,7 @@ void panic(const char *fmt, ...)
debugtrace_dump();
watchdog_on = 0;
mdelay(5000);
machine_restart(0);
}
-1
View File
@@ -8,7 +8,6 @@
#define BUG() do { \
printk("BUG at %s:%d\n", __FILE__, __LINE__); \
debugtrace_dump(); \
FORCE_CRASH(); \
} while ( 0 )
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.