summaryrefslogtreecommitdiffstats
path: root/arch/um/include
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-05-06 23:51:39 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 21:13:03 +0200
commit63843c265fd0e0c7894f713e0db5777560e756ae (patch)
tree020eb5c523857f2485fd1ca4968245f7264a4cba /arch/um/include
parentuml: fixup allocation in the ubd driver (diff)
downloadlinux-63843c265fd0e0c7894f713e0db5777560e756ae.tar.xz
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/include')
-rw-r--r--arch/um/include/os.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h
index b463170a5308..901804db3c35 100644
--- a/arch/um/include/os.h
+++ b/arch/um/include/os.h
@@ -279,6 +279,7 @@ extern int raw(int fd);
extern void setup_machinename(char *machine_out);
extern void setup_hostinfo(char *buf, int len);
extern int setjmp_wrapper(void (*proc)(void *, void *), ...);
+extern void os_dump_core(void);
/* time.c */
#define BILLION (1000 * 1000 * 1000)