kexec: export KERNEL_IMAGE_SIZE to vmcoreinfo
[cascardo/linux.git] / kernel / kexec_core.c
index 322dd55..201b453 100644 (file)
@@ -1417,6 +1417,9 @@ static int __init crash_save_vmcoreinfo_init(void)
 #endif
        VMCOREINFO_NUMBER(PG_head_mask);
        VMCOREINFO_NUMBER(PAGE_BUDDY_MAPCOUNT_VALUE);
+#ifdef CONFIG_X86
+       VMCOREINFO_NUMBER(KERNEL_IMAGE_SIZE);
+#endif
 #ifdef CONFIG_HUGETLBFS
        VMCOREINFO_SYMBOL(free_huge_page);
 #endif