diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 14:51:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 12:13:03 -0700 |
commit | 63843c265fd0e0c7894f713e0db5777560e756ae (patch) | |
tree | 020eb5c523857f2485fd1ca4968245f7264a4cba /arch/um/kernel/um_arch.c | |
parent | 990c55871b655156ffd7787af791be977d946ef6 (diff) | |
download | talos-op-linux-63843c265fd0e0c7894f713e0db5777560e756ae.tar.gz talos-op-linux-63843c265fd0e0c7894f713e0db5777560e756ae.zip |
uml: dump core on panic
Dump core after a panic. This will provide better debugging information than
is currently available.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/kernel/um_arch.c')
-rw-r--r-- | arch/um/kernel/um_arch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 9bf31533a8fd..1cf954a47fd7 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -474,7 +474,7 @@ static int panic_exit(struct notifier_block *self, unsigned long unused1, show_regs(&(current->thread.regs)); bust_spinlocks(0); uml_exitcode = 1; - machine_halt(); + os_dump_core(); return 0; } |