]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/kexec_core.c
kexec: export KERNEL_IMAGE_SIZE to vmcoreinfo
[karo-tx-linux.git] / kernel / kexec_core.c
index 322dd5579f594af6cfb711ce0ac712325e15e34d..201b45327804d230edc9017eef6c07805ae3f8d3 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