]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - kernel/crash_dump.c
[PATCH] kdump: Access dump file in elf format (/proc/vmcore)
[mirror_ubuntu-zesty-kernel.git] / kernel / crash_dump.c
index 10b966c3744c7166757a51293a80859bdeff514c..459ba49e376a289f3f82043f23e8694ef43e9cb8 100644 (file)
@@ -16,7 +16,7 @@
 #include <asm/uaccess.h>
 
 /* Stores the physical address of elf header of crash image. */
-unsigned long long elfcorehdr_addr;
+unsigned long long elfcorehdr_addr = ELFCORE_ADDR_MAX;
 
 /*
  * Copy a page from "oldmem". For this page, there is no pte mapped