summaryrefslogtreecommitdiff
path: root/include/linux/crash_dump.h
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@in.ibm.com>2005-06-26 01:58:20 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-26 03:24:53 +0400
commit2030eae52b416a9a9f0ffda74c982b7f1e19496d (patch)
tree3715724cb19e9165873635fcdf7e9e30d86f7710 /include/linux/crash_dump.h
parent60e64d46a58236e3c718074372cab6a5b56a3b15 (diff)
downloadlinux-2030eae52b416a9a9f0ffda74c982b7f1e19496d.tar.xz
[PATCH] Retrieve elfcorehdr address from command line
This patch adds support for retrieving the address of elf core header if one is passed in command line. Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/crash_dump.h')
-rw-r--r--include/linux/crash_dump.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/crash_dump.h b/include/linux/crash_dump.h
index 7d983b817429..3f25fd1eaa4b 100644
--- a/include/linux/crash_dump.h
+++ b/include/linux/crash_dump.h
@@ -7,6 +7,7 @@
#include <linux/device.h>
#include <linux/proc_fs.h>
+extern unsigned long long elfcorehdr_addr;
extern ssize_t copy_oldmem_page(unsigned long, char *, size_t,
unsigned long, int);
#endif /* CONFIG_CRASH_DUMP */