mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
13 lines
463 B
Diff
13 lines
463 B
Diff
--- a/kernel/vmcore_info.c
|
|
+++ b/kernel/vmcore_info.c
|
|
@@ -214,8 +214,10 @@ static int __init crash_save_vmcoreinfo_
|
|
#ifdef CONFIG_KALLSYMS
|
|
VMCOREINFO_SYMBOL(kallsyms_names);
|
|
VMCOREINFO_SYMBOL(kallsyms_num_syms);
|
|
+#ifndef CONFIG_KALLSYMS_UNCOMPRESSED
|
|
VMCOREINFO_SYMBOL(kallsyms_token_table);
|
|
VMCOREINFO_SYMBOL(kallsyms_token_index);
|
|
+#endif
|
|
VMCOREINFO_SYMBOL(kallsyms_offsets);
|
|
VMCOREINFO_SYMBOL(kallsyms_relative_base);
|
|
#endif /* CONFIG_KALLSYMS */
|