[PATCH] Retrieve elfcorehdr address from command line
[safe/jmp/linux-2.6] / kernel / crash_dump.c
index 5a1e6d5..10b966c 100644 (file)
@@ -15,6 +15,9 @@
 #include <asm/io.h>
 #include <asm/uaccess.h>
 
+/* Stores the physical address of elf header of crash image. */
+unsigned long long elfcorehdr_addr;
+
 /*
  * Copy a page from "oldmem". For this page, there is no pte mapped
  * in the current kernel. We stitch up a pte, similar to kmap_atomic.