[PATCH] Retrieve elfcorehdr address from command line
[firefly-linux-kernel-4.4.55.git] / kernel / crash_dump.c
index 5a1e6d5d203e708ce70ae110e38faf5abbcca983..10b966c3744c7166757a51293a80859bdeff514c 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.